haiku/build/jam
Ingo Weinhold 360be1fc45 * Implemented support for chroot:
- Added a "root" vnode to the io_context. It is used for resolving
    paths and converting nodes to paths instead of sRoot. Some more
    passing around of io_context structures was necessary.
  - Introduced a new lock sIOContextRootLock to protect
    io_context::root. The current uses of io_context::io_mutex
    (put_vnode(), remove_vnode() while holding it) looked too suspicious
    to use that mutex in vnode_path_to_vnode().
  - Added _kern_change_root() syscall and chroot() libroot function.
  - Added chroot coreutils program to the image. Funnily it seems to be
    much easier to set up a little jail than under Linux (just copy
    bash and libroot.so into respective subdirs; mount another pipefs
    if you want pipe support).
    With Haiku allowing direct access to directories via inode IDs
    jailing is obviously not very secure at the moment.
  - Added /var/empty to the image. It will be the chroot target for ssh.
* Changed vfs.cpp:get_cwd() so that the io_context::io_mutex is no
  longer held when calling dir_vnode_to_path().


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24673 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-03-30 05:59:54 +00:00
..
BeOSRules * BuildPlatformMain supports overriding HOST_LIBROOT on the target now, 2008-03-22 21:05:03 +00:00
BuildSetup Build configurations shouldn't be done in svn controlled files, so I 2008-03-27 22:01:38 +00:00
CDBootImage Rules and targets to build a boot CD iso... use: 2008-03-02 04:38:29 +00:00
ConfigRules Merged changes from branch build_system_redesign at revision 14573. 2005-10-29 16:27:43 +00:00
DocumentationRules This finishes my docbook infrastructure. 2006-09-05 15:52:15 +00:00
FileRules Use LC_ALL=C to really make sure the locale isn't used on svn info. 2007-12-14 21:21:55 +00:00
FloppyBootImage Reordered boot module list as well, it works much better when scsi_cd is here! 2008-03-04 01:05:50 +00:00
FreetypeRules updated freetype to 2.2.1, tested ok, please forgive me for possible left issues :) 2006-06-27 11:34:35 +00:00
HaikuImage * Implemented support for chroot: 2008-03-30 05:59:54 +00:00
HeadersRules Second stab at reorganizing standard/gcc headers. This time it not only 2008-03-16 17:21:37 +00:00
HelperRules Made the compatibility level for target libbe_test depend on the compatibility 2007-08-05 01:13:27 +00:00
ImageRules Added OptionalPackageDependencies rule to specify dependencies between 2008-03-29 15:15:18 +00:00
KernelRules Merged branch haiku/branches/developer/bonefish/optimization revision 2008-01-11 00:36:44 +00:00
MainBuildRules * BuildPlatformMain supports overriding HOST_LIBROOT on the target now, 2008-03-22 21:05:03 +00:00
MathRules Added rules for performing basic integer arithmetics (+, -, *). The rules 2007-04-06 02:37:12 +00:00
MiscRules bonefish: Fixed bug #1346. The relative output directory for the root directory was 2007-07-31 22:37:21 +00:00
NetBootArchive Added ipro100 driver. Tested on real hardware and it seems to work fine. 2008-02-05 22:18:14 +00:00
OptionalPackages * Moved the optional packages definitions to new OptionalPackages file 2008-03-29 15:18:35 +00:00
OverriddenJamRules Build configurations shouldn't be done in svn controlled files, so I 2008-03-27 22:01:38 +00:00
PackageRules The Copy rule respects an already set SEARCH path now. 2006-02-06 23:04:01 +00:00
TestsRules Change the jam rules to build the test binaries as release by default, 2007-02-03 21:55:45 +00:00
UserBuildConfig.ReadMe * Added new rule CopyDirectoryToHaikuImage which recursively copies a 2008-03-26 04:14:25 +00:00
UserBuildConfig.sample * Added new rule CopyDirectoryToHaikuImage which recursively copies a 2008-03-26 04:14:25 +00:00