diff options
Diffstat (limited to 'ipc/msg.c')
-rw-r--r-- | ipc/msg.c | 34 |
1 files changed, 18 insertions, 16 deletions
@@ -1015,22 +1015,24 @@ static int sysvipc_msg_proc_show(struct seq_file *s, void *it) | |||
1015 | struct user_namespace *user_ns = seq_user_ns(s); | 1015 | struct user_namespace *user_ns = seq_user_ns(s); |
1016 | struct msg_queue *msq = it; | 1016 | struct msg_queue *msq = it; |
1017 | 1017 | ||
1018 | return seq_printf(s, | 1018 | seq_printf(s, |
1019 | "%10d %10d %4o %10lu %10lu %5u %5u %5u %5u %5u %5u %10lu %10lu %10lu\n", | 1019 | "%10d %10d %4o %10lu %10lu %5u %5u %5u %5u %5u %5u %10lu %10lu %10lu\n", |
1020 | msq->q_perm.key, | 1020 | msq->q_perm.key, |
1021 | msq->q_perm.id, | 1021 | msq->q_perm.id, |
1022 | msq->q_perm.mode, | 1022 | msq->q_perm.mode, |
1023 | msq->q_cbytes, | 1023 | msq->q_cbytes, |
1024 | msq->q_qnum, | 1024 | msq->q_qnum, |
1025 | msq->q_lspid, | 1025 | msq->q_lspid, |
1026 | msq->q_lrpid, | 1026 | msq->q_lrpid, |
1027 | from_kuid_munged(user_ns, msq->q_perm.uid), | 1027 | from_kuid_munged(user_ns, msq->q_perm.uid), |
1028 | from_kgid_munged(user_ns, msq->q_perm.gid), | 1028 | from_kgid_munged(user_ns, msq->q_perm.gid), |
1029 | from_kuid_munged(user_ns, msq->q_perm.cuid), | 1029 | from_kuid_munged(user_ns, msq->q_perm.cuid), |
1030 | from_kgid_munged(user_ns, msq->q_perm.cgid), | 1030 | from_kgid_munged(user_ns, msq->q_perm.cgid), |
1031 | msq->q_stime, | 1031 | msq->q_stime, |
1032 | msq->q_rtime, | 1032 | msq->q_rtime, |
1033 | msq->q_ctime); | 1033 | msq->q_ctime); |
1034 | |||
1035 | return 0; | ||
1034 | } | 1036 | } |
1035 | #endif | 1037 | #endif |
1036 | 1038 | ||