summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_syscalls.c
diff options
context:
space:
mode:
authoreadler <eadler@FreeBSD.org>2011-12-13 00:38:50 +0000
committereadler <eadler@FreeBSD.org>2011-12-13 00:38:50 +0000
commit3072a90209b0633441cd50bc110aaabee8b84361 (patch)
tree1b6fc17c4c3a7b2017bd4d2dc27bc471d3096d4f /sys/kern/vfs_syscalls.c
parentcb0e02e00e9b1dd7c973b926616603c86ba314b7 (diff)
downloadFreeBSD-src-3072a90209b0633441cd50bc110aaabee8b84361.zip
FreeBSD-src-3072a90209b0633441cd50bc110aaabee8b84361.tar.gz
Document a large number of currently undocumented sysctls. While here
fix some style(9) issues and reduce redundancy. PR: kern/155491 PR: kern/155490 PR: kern/155489 Submitted by: Galimov Albert <wtfcrap@mail.ru> Approved by: bde Reviewed by: jhb MFC after: 1 week
Diffstat (limited to 'sys/kern/vfs_syscalls.c')
-rw-r--r--sys/kern/vfs_syscalls.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c
index b3920d3..50319bd 100644
--- a/sys/kern/vfs_syscalls.c
+++ b/sys/kern/vfs_syscalls.c
@@ -880,7 +880,8 @@ chroot_refuse_vdir_fds(fdp)
static int chroot_allow_open_directories = 1;
SYSCTL_INT(_kern, OID_AUTO, chroot_allow_open_directories, CTLFLAG_RW,
- &chroot_allow_open_directories, 0, "");
+ &chroot_allow_open_directories, 0,
+ "Allow a process to chroot(2) if it has a directory open");
/*
* Change notion of root (``/'') directory.
OpenPOWER on IntegriCloud