Re: [PATCH v4 3/5] LSM: add new hook for kernfs node initialization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Feb 5, 2019 at 10:52 AM kbuild test robot <lkp@xxxxxxxxx> wrote:
>
> Hi Ondrej,
>
> Thank you for the patch! Yet something to improve:
>
> [auto build test ERROR on driver-core/driver-core-testing]
> [also build test ERROR on v5.0-rc4 next-20190205]
> [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
>
> url:    https://github.com/0day-ci/linux/commits/Ondrej-Mosnacek/Allow-initializing-the-kernfs-node-s-secctx-based-on-its-parent/20190205-171434
> config: x86_64-randconfig-x013-201905 (attached as .config)
> compiler: gcc-8 (Debian 8.2.0-14) 8.2.0
> reproduce:
>         # save the attached .config to linux build tree
>         make ARCH=x86_64
>
> All errors (new ones prefixed by >>):
>
>    In file included from fs/file_table.c:15:
> >> include/linux/security.h:796:1: error: expected identifier or '(' before '{' token
>     {
>     ^
>    In file included from fs/file_table.c:15:
>    include/linux/security.h:792:19: warning: 'security_kernfs_init_security' declared 'static' but never defined [-Wunused-function]
>     static inline int security_kernfs_init_security(
>                       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> vim +796 include/linux/security.h
>
>    791
>    792  static inline int security_kernfs_init_security(
>    793                  const struct qstr *qstr, const struct iattr *dir_iattr,
>    794                  struct simple_xattrs *dir_secattr, const struct iattr *iattr,
>    795                  struct simple_xattrs *secattr);
>  > 796  {
>    797          return 0;
>    798  }
>    799

*facepalm*... Fixed in v5.


-- 
Ondrej Mosnacek <omosnace at redhat dot com>
Associate Software Engineer, Security Technologies
Red Hat, Inc.



[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux