sandbox-seccomp-filter.c (261320) | sandbox-seccomp-filter.c (263712) |
---|---|
1/* 2 * Copyright (c) 2012 Will Drewry <wad@dataspill.org> 3 * 4 * Permission to use, copy, modify, and distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 84 unchanged lines hidden (view full) --- 93 SC_ALLOW(gettimeofday), 94 SC_ALLOW(clock_gettime), 95#ifdef __NR_time /* not defined on EABI ARM */ 96 SC_ALLOW(time), 97#endif 98 SC_ALLOW(read), 99 SC_ALLOW(write), 100 SC_ALLOW(close), | 1/* 2 * Copyright (c) 2012 Will Drewry <wad@dataspill.org> 3 * 4 * Permission to use, copy, modify, and distribute this software for any 5 * purpose with or without fee is hereby granted, provided that the above 6 * copyright notice and this permission notice appear in all copies. 7 * 8 * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES --- 84 unchanged lines hidden (view full) --- 93 SC_ALLOW(gettimeofday), 94 SC_ALLOW(clock_gettime), 95#ifdef __NR_time /* not defined on EABI ARM */ 96 SC_ALLOW(time), 97#endif 98 SC_ALLOW(read), 99 SC_ALLOW(write), 100 SC_ALLOW(close), |
101#ifdef __NR_shutdown /* not defined on archs that go via socketcall(2) */ 102 SC_ALLOW(shutdown), 103#endif |
|
101 SC_ALLOW(brk), 102 SC_ALLOW(poll), 103#ifdef __NR__newselect 104 SC_ALLOW(_newselect), 105#else 106 SC_ALLOW(select), 107#endif 108 SC_ALLOW(madvise), --- 129 unchanged lines hidden --- | 104 SC_ALLOW(brk), 105 SC_ALLOW(poll), 106#ifdef __NR__newselect 107 SC_ALLOW(_newselect), 108#else 109 SC_ALLOW(select), 110#endif 111 SC_ALLOW(madvise), --- 129 unchanged lines hidden --- |