函数源码 |
Source File:ipc\compat.c |
Create Date:2022-07-27 18:14:20 |
首页 | Copyright©Brick |
49 50 51 52 53 54 55 56 57 58 59 | int get_compat_ipc_perm( struct ipc64_perm *to, struct compat_ipc_perm __user *from) { struct compat_ipc_perm v; if (copy_from_user(&v, from, sizeof (v))) return -EFAULT; to->uid = v.uid; to->gid = v.gid; to->mode = v.mode; return 0; } |