Deleted Added
full compact
44c44
< __FBSDID("$FreeBSD: head/sys/fs/tmpfs/tmpfs_vfsops.c 253573 2013-07-23 14:48:37Z nwhitehorn $");
---
> __FBSDID("$FreeBSD: head/sys/fs/tmpfs/tmpfs_vfsops.c 254741 2013-08-23 22:52:20Z delphij $");
49a50,51
> #include <sys/proc.h>
> #include <sys/jail.h>
140a143
> struct thread *td = curthread;
152a156,158
> if (!prison_allow(td->td_ucred, PR_ALLOW_MOUNT_TMPFS))
> return (EPERM);
>
423c429
< VFS_SET(tmpfs_vfsops, tmpfs, 0);
---
> VFS_SET(tmpfs_vfsops, tmpfs, VFCF_JAIL);