|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Slawa Olhovchenkov 2:5030/500 08 Apr 2007 15:38:54 To : All Subject : Вести с полей --------------------------------------------------------------------------------
pjd 2007-04-05 21:03:05 UTC
FreeBSD src repository
Modified files:
lib/libc/gen getvfsbyname.3
share/man/man9 VFS_SET.9
sys/kern kern_jail.c vfs_mount.c
sys/sys mount.h
usr.bin/lsvfs lsvfs.c
usr.sbin/jail jail.8
Log:
Add security.jail.mount_allowed sysctl, which allows to mount and
unmount jail-friendly file systems from within a jail.
Precisely it grants PRIV_VFS_MOUNT, PRIV_VFS_UNMOUNT and
PRIV_VFS_MOUNT_NONUSER privileges for a jailed super-user.
It is turned off by default.
A jail-friendly file system is a file system which driver registers
itself with VFCF_JAIL flag via VFS_SET(9) API.
The lsvfs(1) command can be used to see which file systems are
jail-friendly ones.
There currently no jail-friendly file systems, ZFS will be the first one.
In the future we may consider marking file systems like nullfs as
jail-friendly.
Reviewed by: rwatson
... Buing a Pentium II you can reboot faster
--- GoldED+/BSD 1.1.5
* Origin: (2:5030/500)
Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/22214618d463.html, оценка из 5, голосов 10
|