Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Side by Side Diff: experimental/webtry/syscall_reporter.h

Issue 228693002: Initial code for webtry, a web application for allowing users to try out Skia. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: More cleanup Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 /*
2 * syscall reporting example for seccomp
3 *
4 * Copyright (c) 2012 The Chromium OS Authors <chromium-os-dev@chromium.org>
5 * Authors:
6 * Kees Cook <keescook@chromium.org>
7 * Will Drewry <wad@chromium.org>
8 *
9 * Use of this source code is governed by a BSD-style license that can be
10 * found in the LICENSE file.
11 */
12 #ifndef _BPF_REPORTER_H_
13 #define _BPF_REPORTER_H_
14
15 #include "seccomp_bpf.h"
16
17 #undef KILL_PROCESS
18 #define KILL_PROCESS \
19 BPF_STMT(BPF_RET+BPF_K, SECCOMP_RET_TRAP)
20
21 extern int install_syscall_reporter(void);
22
23 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698