lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
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

Powered by Openwall GNU/*/Linux Powered by OpenVZ