diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-09 10:03:23 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-07-15 20:46:44 -0400 |
commit | c0ebccb6fa1e2c9c3377fa8136e6d8bc006fca64 (patch) | |
tree | b4c5565819658fca6533ef779fec432ba3654b00 /ipc/util.h | |
parent | 45a4a64ab485d5c3e76ee79163a24303bf5077fd (diff) | |
download | linux-c0ebccb6fa1e2c9c3377fa8136e6d8bc006fca64.tar.gz linux-c0ebccb6fa1e2c9c3377fa8136e6d8bc006fca64.tar.bz2 linux-c0ebccb6fa1e2c9c3377fa8136e6d8bc006fca64.zip |
semctl(): move compat to native
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'ipc/util.h')
-rw-r--r-- | ipc/util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ipc/util.h b/ipc/util.h index 3a3dfe137bee..c7b7a5ff1f0b 100644 --- a/ipc/util.h +++ b/ipc/util.h @@ -204,6 +204,12 @@ struct compat_ipc_perm { unsigned short seq; }; +void to_compat_ipc_perm(struct compat_ipc_perm *, struct ipc64_perm *); +void to_compat_ipc64_perm(struct compat_ipc64_perm *, struct ipc64_perm *); +int get_compat_ipc_perm(struct ipc64_perm *, struct compat_ipc_perm __user *); +int get_compat_ipc64_perm(struct ipc64_perm *, + struct compat_ipc64_perm __user *); + static inline int compat_ipc_parse_version(int *cmd) { #ifdef CONFIG_ARCH_WANT_COMPAT_IPC_PARSE_VERSION |