Revert the noexec,nosuid,nodev options for md /tmp file systems, since

the change in the default behavior may break existing, working setups.

Requested by:	brooks
This commit is contained in:
Giorgos Keramidas 2004-11-09 21:33:19 +00:00
parent 0b39ef4db1
commit 16c2bf8bfb
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=137477
2 changed files with 3 additions and 4 deletions

View File

@ -40,7 +40,7 @@ pccard_ether_delay="5" # Delay before trying to start dhclient in pccard_ether
removable_interfaces="" # Removable network interfaces for /etc/pccard_ether.
tmpmfs="AUTO" # Set to YES to always create an mfs /tmp, NO to never
tmpsize="20m" # Size of mfs /tmp if created
tmpmfs_flags="-S -o noexec,nosuid,nodev" # Extra mdmfs options for the mfs /tmp
tmpmfs_flags="-S" # Extra mdmfs options for the mfs /tmp
varmfs="AUTO" # Set to YES to always create an mfs /var, NO to never
varsize="32m" # Size of mfs /var if created
varmfs_flags="-S" # Extra mount options for the mfs /var

View File

@ -247,11 +247,10 @@ utility when the memory file system for
.Pa /tmp
is created.
The default is
.Dq Li -S -o noexec,nosuid,nodev ,
.Dq Li -S ,
which inhibits the use of softupdates on
.Pa /tmp
to waste as little space as possible and mounts the memory file system
.Dq Li noexec,nosuid,nodev .
to waste as little space as possible.
See
.Xr mdmfs 8
for other options you can use in