Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | command.c: avoid shadowing a global function | Jim Meyering | 2009-08-17 | 1 | -4/+4 |
| | | | | * daemon/command.c (do_sh_lines, do_sh): Do not shadow global "command". | ||||
* | adjust const "**" pointers to avoid warnings | Jim Meyering | 2009-08-17 | 1 | -6/+6 |
| | | | | | | Also, ... * src/generator.ml: Add DeviceList type, and propagate that change out to all calling/interface code. | ||||
* | generator.ml: use new "Pathname" designation | Jim Meyering | 2009-08-13 | 1 | -2/+2 |
| | | | | | | | | | | Nearly every file-related function in daemons/*.c is affected: Remove this pair of statements from each affected do_* function: - NEED_ROOT (return -1); - ABS_PATH (dir, return -1); and change the type of the corresponding parameter to "const char *". * src/generator.ml: Emit NEED_ROOT just once, even when there are two or more Pathname args. | ||||
* | update all NEED_ROOT uses | Jim Meyering | 2009-08-13 | 1 | -1/+1 |
| | | | | | | run this command: git grep -l -w NEED_ROOT|xargs perl -pi -e \ 's/(NEED_ROOT) \((.*?)\)/$1 (return $2)/' | ||||
* | Return error if allocations fail. | Richard Jones | 2009-08-12 | 1 | -0/+12 |
| | |||||
* | If using SELinux, mount /selinux in the appliance. | Richard Jones | 2009-08-12 | 1 | -2/+8 |
| | | | | | | If selinux=1 on the Linux kernel command line, then we mount /selinux in the appliance. We will also bind-mount this directory into guests when we run commands. | ||||
* | Make /sysroot path configurable. | Richard Jones | 2009-07-18 | 1 | -8/+19 |
| | | | | | | | | | Currently /sysroot is hard-coded throughout the daemon code. This patch turns the path into a variable so that we can change it in future, for example to allow standalone mode to be implemented. This patch was tested by running all the C API tests successfully. | ||||
* | remove trailing blanks | Jim Meyering | 2009-07-03 | 1 | -1/+1 |
| | |||||
* | Add 'sh' and 'sh-lines' commands. | Richard Jones | 2009-06-22 | 1 | -0/+16 |
| | |||||
* | In the daemon, change all const char * parameters to char *. | Richard Jones | 2009-06-10 | 1 | -2/+2 |
| | |||||
* | Fix RHBZ#503169 comment 13 (regression) and add a regression test. | Richard Jones | 2009-06-04 | 1 | -4/+7 |
| | |||||
* | Use --rbind rather than --bind for bind mounting /dev (to get /dev/pts). | Charles Duffy | 2009-06-04 | 1 | -3/+3 |
| | |||||
* | Refactor line splitting code in the daemon, and fix it so it works. | Richard Jones | 2009-05-12 | 1 | -24/+3 |
| | |||||
* | Bind-mount /dev, /proc and /sys into chroot when running commands. | Richard Jones | 2009-04-30 | 1 | -0/+20 |
| | |||||
* | Better handling of trailing \n problem. | Richard Jones | 2009-04-14 | 1 | -4/+4 |
| | |||||
* | Add 'command' and 'command-lines'. Fix args freeing in Perl bindings. | Richard Jones | 2009-04-14 | 1 | -0/+101 |