fs/proc/base.c:3177:37-44: duplicated argument to & or | (fwd)
PATCH 17/17 fs/proc/base.c:3177:37-44: duplicated argument to & or | (fwd)
Hello,
Line 3177 has two instances of S_IRUSR. Please check line 3579 (not included here) for a similar issue.
julia
---------- Forwarded message ----------
Date: Wed, 1 Jan 2020 01:31:47 +0800
From: kbuild test robot <[email protected]>
To: kbuild(a)lists.01.org
Cc: Julia Lawall <[email protected]>
Subject: [audit-next:ghak90-audit-containerID.v8 17/17]
fs/proc/base.c:3177:37-44: duplicated argument to & or |
CC: kbuild-all(a)lists.01.org
TO: Richard Guy Briggs <[email protected]>
tree: git://toccata2.tricolour.ca/linux-2.6-rgb.git ghak90-audit-containerID.v8 head: 5941671b6b6b5de28ab2cc80e72f288cf83291d5 commit: 5941671b6b6b5de28ab2cc80e72f288cf83291d5 [17/17] audit: add capcontid to set contid outside init_user_ns
:::::: branch date: 21 hours ago
:::::: commit date: 21 hours ago
If you fix the issue, kindly add following tag
Quoted 1 line
Quoted 1 line
fs/proc/base.c:3177:37-44: duplicated argument to & or |
fs/proc/base.c:3579:37-44: duplicated argument to & or |
git remote add audit-next git://toccata2.tricolour.ca/linux-2.6-rgb.git
git remote update audit-next
git checkout 5941671b6b6b5de28ab2cc80e72f288cf83291d5
vim +3177 fs/proc/base.c
20cdc894c45d2e4 Eric W. Biederman 2006-10-02 3104
c5141e6d64ab5c4 Eric Dumazet 2007-05-08 3105 static const struct pid_entry tgid_base_stuff[] = {
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3106 DIR("task", S_IRUGO|S_IXUGO, proc_task_inode_operations, proc_task_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3107 DIR("fd", S_IRUSR|S_IXUSR, proc_fd_inode_operations, proc_fd_operations),
640708a2cff7f81 Pavel Emelyanov 2012-01-10 3108 DIR("map_files", S_IRUSR|S_IXUSR, proc_map_files_inode_operations, proc_map_files_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3109 DIR("fdinfo", S_IRUSR|S_IXUSR, proc_fdinfo_inode_operations, proc_fdinfo_operations),
6b4e306aa3dc94a Eric W. Biederman 2010-03-07 3110 DIR("ns", S_IRUSR|S_IXUGO, proc_ns_dir_inode_operations, proc_ns_dir_operations),
b2211a361a4289c Andrew Morton 2008-03-11 3111 #ifdef CONFIG_NET
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3112 DIR("net", S_IRUGO|S_IXUGO, proc_net_inode_operations, proc_net_operations),
b2211a361a4289c Andrew Morton 2008-03-11 3113 #endif
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3114 REG("environ", S_IRUSR, proc_environ_operations),
c5317167854e01d Al Viro 2016-10-05 3115 REG("auxv", S_IRUSR, proc_auxv_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3116 ONE("status", S_IRUGO, proc_pid_status),
35a35046e4f9d88 Djalal Harouni 2014-04-07 3117 ONE("personality", S_IRUSR, proc_pid_personality),
1c963eb135075ec Alexey Dobriyan 2014-08-08 3118 ONE("limits", S_IRUGO, proc_pid_limits),
43ae34cb4cd650d Ingo Molnar 2007-07-09 3119 #ifdef CONFIG_SCHED_DEBUG
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3120 REG("sched", S_IRUGO|S_IWUSR, proc_pid_sched_operations),
5091faa449ee0b7 Mike Galbraith 2010-11-30 3121 #endif
5091faa449ee0b7 Mike Galbraith 2010-11-30 3122 #ifdef CONFIG_SCHED_AUTOGROUP
5091faa449ee0b7 Mike Galbraith 2010-11-30 3123 REG("autogroup", S_IRUGO|S_IWUSR, proc_pid_sched_autogroup_operations),
ebcb67341fee340 Roland McGrath 2008-07-25 3124 #endif
4614a696bd1c3a9 John Stultz 2009-12-14 3125 REG("comm", S_IRUGO|S_IWUSR, proc_pid_set_comm_operations),
ebcb67341fee340 Roland McGrath 2008-07-25 3126 #ifdef CONFIG_HAVE_ARCH_TRACEHOOK
09d93bd62709814 Alexey Dobriyan 2014-08-08 3127 ONE("syscall", S_IRUSR, proc_pid_syscall),
43ae34cb4cd650d Ingo Molnar 2007-07-09 3128 #endif
c2c0bb44620dece Alexey Dobriyan 2015-06-25 3129 REG("cmdline", S_IRUGO, proc_pid_cmdline_ops),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3130 ONE("stat", S_IRUGO, proc_tgid_stat),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3131 ONE("statm", S_IRUGO, proc_pid_statm),
b76437579d1344b Siddhesh Poyarekar 2012-03-21 3132 REG("maps", S_IRUGO, proc_pid_maps_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3133 #ifdef CONFIG_NUMA
b76437579d1344b Siddhesh Poyarekar 2012-03-21 3134 REG("numa_maps", S_IRUGO, proc_pid_numa_maps_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3135 #endif
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3136 REG("mem", S_IRUSR|S_IWUSR, proc_mem_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3137 LNK("cwd", proc_cwd_link),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3138 LNK("root", proc_root_link),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3139 LNK("exe", proc_exe_link),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3140 REG("mounts", S_IRUGO, proc_mounts_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3141 REG("mountinfo", S_IRUGO, proc_mountinfo_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3142 REG("mountstats", S_IRUSR, proc_mountstats_operations),
1e88328111aae3e Matt Mackall 2008-02-04 3143 #ifdef CONFIG_PROC_PAGE_MONITOR
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3144 REG("clear_refs", S_IWUSR, proc_clear_refs_operations),
b76437579d1344b Siddhesh Poyarekar 2012-03-21 3145 REG("smaps", S_IRUGO, proc_pid_smaps_operations),
493b0e9d945fa9d Daniel Colascione 2017-09-06 3146 REG("smaps_rollup", S_IRUGO, proc_pid_smaps_rollup_operations),
32ed74a4b968a4f Djalal Harouni 2014-04-07 3147 REG("pagemap", S_IRUSR, proc_pagemap_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3148 #endif
28a6d67179da696 Eric W. Biederman 2006-10-02 3149 #ifdef CONFIG_SECURITY
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3150 DIR("attr", S_IRUGO|S_IXUGO, proc_attr_dir_inode_operations, proc_attr_dir_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3151 #endif
28a6d67179da696 Eric W. Biederman 2006-10-02 3152 #ifdef CONFIG_KALLSYMS
edfcd6064fa7d36 Alexey Dobriyan 2014-08-08 3153 ONE("wchan", S_IRUGO, proc_pid_wchan),
28a6d67179da696 Eric W. Biederman 2006-10-02 3154 #endif
2ec220e27f5040a Ken Chen 2008-11-10 3155 #ifdef CONFIG_STACKTRACE
35a35046e4f9d88 Djalal Harouni 2014-04-07 3156 ONE("stack", S_IRUSR, proc_pid_stack),
28a6d67179da696 Eric W. Biederman 2006-10-02 3157 #endif
5968cecedd7a09f Naveen N. Rao 2015-06-30 3158 #ifdef CONFIG_SCHED_INFO
f6e826ca37a56e1 Alexey Dobriyan 2014-08-08 3159 ONE("schedstat", S_IRUGO, proc_pid_schedstat),
28a6d67179da696 Eric W. Biederman 2006-10-02 3160 #endif
9745512ce79de68 Arjan van de Ven 2008-01-25 3161 #ifdef CONFIG_LATENCYTOP
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3162 REG("latency", S_IRUGO, proc_lstats_operations),
9745512ce79de68 Arjan van de Ven 2008-01-25 3163 #endif
8793d854edbc277 Paul Menage 2007-10-18 3164 #ifdef CONFIG_PROC_PID_CPUSET
52de4779f201758 Zefan Li 2014-09-18 3165 ONE("cpuset", S_IRUGO, proc_cpuset_show),
a424316ca154317 Paul Menage 2007-10-18 3166 #endif
a424316ca154317 Paul Menage 2007-10-18 3167 #ifdef CONFIG_CGROUPS
006f4ac49742b5f Zefan Li 2014-09-18 3168 ONE("cgroup", S_IRUGO, proc_cgroup_show),
28a6d67179da696 Eric W. Biederman 2006-10-02 3169 #endif
6ba51e3751a3543 Alexey Dobriyan 2014-08-08 3170 ONE("oom_score", S_IRUGO, proc_oom_score),
fa0cbbf145aabbf David Rientjes 2012-11-12 3171 REG("oom_adj", S_IRUGO|S_IWUSR, proc_oom_adj_operations),
a63d83f427fbce9 David Rientjes 2010-08-09 3172 REG("oom_score_adj", S_IRUGO|S_IWUSR, proc_oom_score_adj_operations),
4b7d248b3a1de48 Richard Guy Briggs 2019-01-22 3173 #ifdef CONFIG_AUDIT
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3174 REG("loginuid", S_IWUSR|S_IRUGO, proc_loginuid_operations),
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3175 REG("sessionid", S_IRUGO, proc_sessionid_operations),
05ba38492e83101 Richard Guy Briggs 2018-02-19 3176 REG("audit_containerid", S_IWUSR|S_IRUSR, proc_contid_operations),
5941671b6b6b5de Richard Guy Briggs 2019-08-20 @3177 REG("audit_capcontainerid", S_IWUSR|S_IRUSR|S_IRUSR, proc_capcontid_operations),
28a6d67179da696 Eric W. Biederman 2006-10-02 3178 #endif
f4f154fd920b217 Akinobu Mita 2006-12-08 3179 #ifdef CONFIG_FAULT_INJECTION
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3180 REG("make-it-fail", S_IRUGO|S_IWUSR, proc_fault_inject_operations),
168c42bc56d8d47 Akinobu Mita 2017-07-14 3181 REG("fail-nth", 0644, proc_fail_nth_operations),
f4f154fd920b217 Akinobu Mita 2006-12-08 3182 #endif
698ba7b5a3a7be7 Christoph Hellwig 2009-12-15 3183 #ifdef CONFIG_ELF_CORE
631f9c1868b9701 Alexey Dobriyan 2008-11-10 3184 REG("coredump_filter", S_IRUGO|S_IWUSR, proc_coredump_filter_operations),
3cb4a0bb1e773e3 Kawai, Hidehiro 2007-07-19 3185 #endif
aba76fdb8a5fefb Andrew Morton 2006-12-10 3186 #ifdef CONFIG_TASK_IO_ACCOUNTING
19aadc98d6a242e Alexey Dobriyan 2014-08-08 3187 ONE("io", S_IRUSR, proc_tgid_io_accounting),
aba76fdb8a5fefb Andrew Morton 2006-12-10 3188 #endif
22d917d80e84282 Eric W. Biederman 2011-11-17 3189 #ifdef CONFIG_USER_NS
22d917d80e84282 Eric W. Biederman 2011-11-17 3190 REG("uid_map", S_IRUGO|S_IWUSR, proc_uid_map_operations),
22d917d80e84282 Eric W. Biederman 2011-11-17 3191 REG("gid_map", S_IRUGO|S_IWUSR, proc_gid_map_operations),
f76d207a66c3a53 Eric W. Biederman 2012-08-30 3192 REG("projid_map", S_IRUGO|S_IWUSR, proc_projid_map_operations),
9cc46516ddf497e Eric W. Biederman 2014-12-02 3193 REG("setgroups", S_IRUGO|S_IWUSR, proc_setgroups_operations),
22d917d80e84282 Eric W. Biederman 2011-11-17 3194 #endif
b18b6a9cef7f30e Nicolas Pitre 2017-01-21 3195 #if defined(CONFIG_CHECKPOINT_RESTORE) && defined(CONFIG_POSIX_TIMERS)
48f6a7a511ef882 Pavel Emelyanov 2013-03-11 3196 REG("timers", S_IRUGO, proc_timers_operations),
48f6a7a511ef882 Pavel Emelyanov 2013-03-11 3197 #endif
5de23d435e88996 John Stultz 2016-03-17 3198 REG("timerslack_ns", S_IRUGO|S_IWUGO, proc_pid_set_timerslack_ns_operations),
7c23b3300116907 Josh Poimboeuf 2017-02-13 3199 #ifdef CONFIG_LIVEPATCH
7c23b3300116907 Josh Poimboeuf 2017-02-13 3200 ONE("patch_state", S_IRUSR, proc_pid_patch_state),
7c23b3300116907 Josh Poimboeuf 2017-02-13 3201 #endif
c8d126275a5fa59 Alexander Popov 2018-08-17 3202 #ifdef CONFIG_STACKLEAK_METRICS
c8d126275a5fa59 Alexander Popov 2018-08-17 3203 ONE("stack_depth", S_IRUGO, proc_stack_depth),
c8d126275a5fa59 Alexander Popov 2018-08-17 3204 #endif
68bc30bb9f33fc8 Aubrey Li 2019-06-06 3205 #ifdef CONFIG_PROC_PID_ARCH_STATUS
68bc30bb9f33fc8 Aubrey Li 2019-06-06 3206 ONE("arch_status", S_IRUGO, proc_pid_arch_status),
68bc30bb9f33fc8 Aubrey Li 2019-06-06 3207 #endif
28a6d67179da696 Eric W. Biederman 2006-10-02 3208 };28a6d67179da696 Eric W. Biederman 2006-10-02 3209
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org Intel Corporation