haiku/headers/private
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
..
app Move RegistrarThread[Manager].cpp to the registrar. There was no point 2008-03-27 02:51:58 +00:00
audio Move this to media/, seems audio/ is only for old stuff. 2007-08-29 12:31:55 +00:00
bluetooth Correct misspell adquire->acquire 2008-03-13 19:30:04 +00:00
debug
disk_scanner missing comment tokens 2007-06-20 21:30:00 +00:00
drivers Mask io-space bit in promise_tx2 driver, the driver was broken after recent ide-adapter changes. 2008-01-01 20:31:14 +00:00
firewire work from JiSheng Zhang : firewire and ohci modules from FreeBSD current, update for fw_raw and fw_control. Thanks! 2007-08-30 21:59:49 +00:00
fs_shell * Added a new flag for write stat: B_STAT_SIZE_INSECURE that allows a 2008-03-24 13:39:02 +00:00
graphics * Overlay on the G33 does not work anymore in the secondary ring buffer; 2008-01-31 18:28:48 +00:00
input Slightly increased the default key repeat rate to make it at least 2008-02-22 10:53:27 +00:00
interface No need for the kWorkspacesWindow flag anymore. 2008-03-14 11:19:57 +00:00
kernel * Implemented support for chroot: 2008-03-30 05:59:54 +00:00
libroot _single_threaded should have C linkage. Was for some reason only a 2008-03-25 01:56:46 +00:00
mail * part of libbe_test build fix... why is the _IMPEXP stuff there in the 2007-10-21 15:19:25 +00:00
media * Implemented BMediaRoster hooks GetRefFor, SetRefFor, SniffRefFor to access BFileInterface related file functions. 2008-03-30 01:35:58 +00:00
midi Made all server version and signatures consistent, and thus closing bug #909. 2006-10-22 17:56:02 +00:00
net * Added a set_to_defaults() function to the address module: it can be used 2008-02-28 15:43:27 +00:00
opengl/GL/internal updated mesa to 6.5.3 2007-06-08 23:00:44 +00:00
print Get first and last page from job settings instead of print_file_header. In print_filer_header first_page is an offset into the spool file (the field is unused or reserved on BeOS R5 and is always -1) and page_count is the number of pages in the spool file. In the job settings first/last page is the page number of the first/last page as specified in the page setup dialog. 2008-03-23 18:01:13 +00:00
runtime_loader * Decide whether to use BeOS style symbol resolution at run time 2008-03-23 19:43:41 +00:00
screen_saver * ScreenCornerSelector is now a BControl and fully keyboard navigable. 2006-06-09 16:03:16 +00:00
shared Small helper class for filtering file/path names. 2008-03-26 04:03:44 +00:00
storage * added a PrintToStream() method 2008-02-02 12:38:15 +00:00
syslog_daemon
textencoding missing comment tokens 2007-06-20 21:20:11 +00:00
tracker * Rewrote BeBuild.h which had "a few" consequences (got rid of all those class 2007-10-15 20:13:55 +00:00
usb_vision
userlandfs * Renamed fs/vfs_select.cpp to wait_for_objects.cpp and got rid of 2007-10-02 19:47:31 +00:00