| @@ -1,16 +1,16 @@ | | | @@ -1,16 +1,16 @@ |
1 | #! /bin/sh | | 1 | #! /bin/sh |
2 | | | 2 | |
3 | # $NetBSD: mksandbox,v 1.12 2018/04/21 19:40:50 sevan Exp $ | | 3 | # $NetBSD: mksandbox,v 1.13 2018/09/29 18:59:29 sevan Exp $ |
4 | | | 4 | |
5 | # Copyright (c) 2002,2012 Alistair Crooks <agc@NetBSD.org> | | 5 | # Copyright (c) 2002,2012 Alistair Crooks <agc@NetBSD.org> |
6 | # All rights reserved. | | 6 | # All rights reserved. |
7 | # | | 7 | # |
8 | # Redistribution and use in source and binary forms, with or without | | 8 | # Redistribution and use in source and binary forms, with or without |
9 | # modification, are permitted provided that the following conditions | | 9 | # modification, are permitted provided that the following conditions |
10 | # are met: | | 10 | # are met: |
11 | # 1. Redistributions of source code must retain the above copyright | | 11 | # 1. Redistributions of source code must retain the above copyright |
12 | # notice, this list of conditions and the following disclaimer. | | 12 | # notice, this list of conditions and the following disclaimer. |
13 | # 2. Redistributions in binary form must reproduce the above copyright | | 13 | # 2. Redistributions in binary form must reproduce the above copyright |
14 | # notice, this list of conditions and the following disclaimer in the | | 14 | # notice, this list of conditions and the following disclaimer in the |
15 | # documentation and/or other materials provided with the distribution. | | 15 | # documentation and/or other materials provided with the distribution. |
16 | # | | 16 | # |
| @@ -89,26 +89,27 @@ Darwin) | | | @@ -89,26 +89,27 @@ Darwin) |
89 | ;; | | 89 | ;; |
90 | DragonFly) | | 90 | DragonFly) |
91 | bmakeprog=bmake | | 91 | bmakeprog=bmake |
92 | chmodprog=/bin/chmod | | 92 | chmodprog=/bin/chmod |
93 | chownprog=/usr/sbin/chown | | 93 | chownprog=/usr/sbin/chown |
94 | cpprog=/bin/cp | | 94 | cpprog=/bin/cp |
95 | gtarprog=/usr/bin/tar | | 95 | gtarprog=/usr/bin/tar |
96 | idprog=/usr/bin/id | | 96 | idprog=/usr/bin/id |
97 | mkdirprog="/bin/mkdir -p" | | 97 | mkdirprog="/bin/mkdir -p" |
98 | mountflags="-t null" | | 98 | mountflags="-t null" |
99 | mountprog=/sbin/mount | | 99 | mountprog=/sbin/mount |
100 | paxprog=/bin/pax | | 100 | paxprog=/bin/pax |
101 | sedprog=/usr/bin/sed | | 101 | sedprog=/usr/bin/sed |
| | | 102 | sandboxEmptyDirs="$sandboxEmptyDirs /var/spool/dma" |
102 | ;; | | 103 | ;; |
103 | FreeBSD) | | 104 | FreeBSD) |
104 | bmakeprog=bmake | | 105 | bmakeprog=bmake |
105 | chmodprog=/bin/chmod | | 106 | chmodprog=/bin/chmod |
106 | chownprog=/usr/sbin/chown | | 107 | chownprog=/usr/sbin/chown |
107 | cpprog=/bin/cp | | 108 | cpprog=/bin/cp |
108 | gtarprog=/usr/bin/tar | | 109 | gtarprog=/usr/bin/tar |
109 | idprog=/usr/bin/id | | 110 | idprog=/usr/bin/id |
110 | mkdirprog="/bin/mkdir -p" | | 111 | mkdirprog="/bin/mkdir -p" |
111 | mountflags="-t nullfs" | | 112 | mountflags="-t nullfs" |
112 | mountprog=/sbin/mount | | 113 | mountprog=/sbin/mount |
113 | paxprog=/bin/pax | | 114 | paxprog=/bin/pax |
114 | sedprog=/usr/bin/sed | | 115 | sedprog=/usr/bin/sed |