All of lore.kernel.org
 help / color / mirror / Atom feed
* [block:io_uring-worker 10/17] fs/io-wq.c:367:33: error: use of undeclared identifier 'AUDIT_UID_UNSET'
@ 2021-02-16  8:53 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-02-16  8:53 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3593 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git io_uring-worker
head:   57ea9801528571943b503bbe9b70a9504793d90e
commit: 276f31457f375639fd79c9eaf975593e750cd7f2 [10/17] io-wq: fork worker threads from original task
config: x86_64-randconfig-a011-20210216 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project c9439ca36342fb6013187d0a69aef92736951476)
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/commit/?id=276f31457f375639fd79c9eaf975593e750cd7f2
        git remote add block https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git
        git fetch --no-tags block io_uring-worker
        git checkout 276f31457f375639fd79c9eaf975593e750cd7f2
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/io-wq.c:367:33: error: use of undeclared identifier 'AUDIT_UID_UNSET'
           current->loginuid = KUIDT_INIT(AUDIT_UID_UNSET);
                                          ^
>> fs/io-wq.c:368:23: error: use of undeclared identifier 'AUDIT_SID_UNSET'
           current->sessionid = AUDIT_SID_UNSET;
                                ^
   2 errors generated.


vim +/AUDIT_UID_UNSET +367 fs/io-wq.c

771b53d033e866 Jens Axboe     2019-10-22  355  
dc026a73c7221b Pavel Begunkov 2020-03-04  356  static void io_assign_current_work(struct io_worker *worker,
dc026a73c7221b Pavel Begunkov 2020-03-04  357  				   struct io_wq_work *work)
dc026a73c7221b Pavel Begunkov 2020-03-04  358  {
d78298e73a3443 Pavel Begunkov 2020-03-14  359  	if (work) {
dc026a73c7221b Pavel Begunkov 2020-03-04  360  		/* flush pending signals before assigning new work */
dc026a73c7221b Pavel Begunkov 2020-03-04  361  		if (signal_pending(current))
dc026a73c7221b Pavel Begunkov 2020-03-04  362  			flush_signals(current);
dc026a73c7221b Pavel Begunkov 2020-03-04  363  		cond_resched();
d78298e73a3443 Pavel Begunkov 2020-03-14  364  	}
dc026a73c7221b Pavel Begunkov 2020-03-04  365  
4ea33a976bfe79 Jens Axboe     2020-10-15  366  #ifdef CONFIG_AUDIT
4ea33a976bfe79 Jens Axboe     2020-10-15 @367  	current->loginuid = KUIDT_INIT(AUDIT_UID_UNSET);
4ea33a976bfe79 Jens Axboe     2020-10-15 @368  	current->sessionid = AUDIT_SID_UNSET;
4ea33a976bfe79 Jens Axboe     2020-10-15  369  #endif
4ea33a976bfe79 Jens Axboe     2020-10-15  370  
dc026a73c7221b Pavel Begunkov 2020-03-04  371  	spin_lock_irq(&worker->lock);
dc026a73c7221b Pavel Begunkov 2020-03-04  372  	worker->cur_work = work;
dc026a73c7221b Pavel Begunkov 2020-03-04  373  	spin_unlock_irq(&worker->lock);
dc026a73c7221b Pavel Begunkov 2020-03-04  374  }
dc026a73c7221b Pavel Begunkov 2020-03-04  375  

:::::: The code at line 367 was first introduced by commit
:::::: 4ea33a976bfe79293965d0815e1914e4b6e58967 io-wq: inherit audit loginuid and sessionid

:::::: TO: Jens Axboe <axboe@kernel.dk>
:::::: CC: Jens Axboe <axboe@kernel.dk>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 33343 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-02-16  8:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-16  8:53 [block:io_uring-worker 10/17] fs/io-wq.c:367:33: error: use of undeclared identifier 'AUDIT_UID_UNSET' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.