[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171014.112753.925194737261973271.davem@davemloft.net>
Date: Sat, 14 Oct 2017 11:27:53 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: chenbofeng.kernel@...il.com
Cc: netdev@...r.kernel.org, jeffv@...gle.com,
alexei.starovoitov@...il.com, lorenzo@...gle.com,
daniel@...earbox.net, sds@...ho.nsa.gov, james.l.morris@...cle.com,
paul@...l-moore.com, fengc@...gle.com
Subject: Re: [PATCH net-next v5 0/5] bpf: security: New file mode and LSM
hooks for eBPF object permission control
Hmmm, this doesn't build for me:
security/selinux/hooks.c: In function ‘bpf_fd_pass’:
security/selinux/hooks.c:6325:40: error: ‘SECCLASS_BPF_MAP’ undeclared (first use in this function); did you mean ‘SECCLASS_BPF’?
ret = avc_has_perm(sid, bpfsec->sid, SECCLASS_BPF_MAP,
^~~~~~~~~~~~~~~~
SECCLASS_BPF
security/selinux/hooks.c:6325:40: note: each undeclared identifier is reported only once for each function it appears in
security/selinux/hooks.c:6332:40: error: ‘SECCLASS_BPF_PROG’ undeclared (first use in this function); did you mean ‘SECCLASS_BPF_MAP’?
ret = avc_has_perm(sid, bpfsec->sid, SECCLASS_BPF_PROG,
^~~~~~~~~~~~~~~~~
SECCLASS_BPF_MAP
Powered by blists - more mailing lists