freebsd-ports/sysutils/hal/files/patch-tools_hal-storage-mount.c
Joe Marcus Clarke 6fc9986032 Remove noexec from the list of hardcoded mount options. This was already
done for Linux, and can be added back in various applications which
request hal mounts.

Requested by:	Kris Moore <kris@pcbsd.com>
2008-05-01 00:59:21 +00:00

11 lines
348 B
C

--- tools/hal-storage-mount.c.orig 2008-04-29 20:05:38.000000000 -0400
+++ tools/hal-storage-mount.c 2008-04-29 20:05:44.000000000 -0400
@@ -56,7 +56,7 @@
#ifdef __FreeBSD__
#define MOUNT "/sbin/mount"
-#define MOUNT_OPTIONS "noexec,nosuid"
+#define MOUNT_OPTIONS "nosuid"
#define MOUNT_TYPE_OPT "-t"
#elif sun
#define MOUNT "/sbin/mount"