diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-09-13 15:34:21 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-09-15 16:02:37 +0200 |
| commit | 18e96021edb8f4de80626d7f50240964e37d570e (patch) | |
| tree | 920bc3f7d064868bc4bfb21c8e6663bff1797c0d /sys/linux/socket_key.txt | |
| parent | 4a7f7fab1ecf47d82fc2b403b57d3cf9b5836398 (diff) | |
sys: move linux descriptions to sys/linux
Diffstat (limited to 'sys/linux/socket_key.txt')
| -rw-r--r-- | sys/linux/socket_key.txt | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sys/linux/socket_key.txt b/sys/linux/socket_key.txt new file mode 100644 index 000000000..52f2401c4 --- /dev/null +++ b/sys/linux/socket_key.txt @@ -0,0 +1,12 @@ +# Copyright 2017 syzkaller project authors. All rights reserved. +# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. + +# AF_KEY support. + +# include <linux/socket.h> +# include <linux/net.h> +# include <uapi/linux/pfkeyv2.h> + +# See net/key/af_key.c, requires root. +# resource sock_key[sock] +# socket$key(domain const[AF_KEY], type const[SOCK_RAW], proto const[PF_KEY_V2]) sock_key |
