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>] [day] [month] [year] [list]
Message-ID: <202110071642.moIMcv6P-lkp@intel.com>
Date:   Thu, 7 Oct 2021 16:53:46 +0800
From:   kernel test robot <lkp@...el.com>
To:     Peter Zijlstra <peterz@...radead.org>
Cc:     llvm@...ts.linux.dev, kbuild-all@...ts.01.org,
        linux-kernel@...r.kernel.org
Subject: [peterz-queue:sched/wip-freezer 4/6] kernel/ptrace.c:69:35: error:
 use of undeclared identifier 'task'

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git sched/wip-freezer
head:   0e2f83a04e7aec955e7b3c759564e51e56450b25
commit: a0e4dbb5aa2a5180d38c539a15f49dce51fe39c7 [4/6] ptrace: Track __TASK_TRACED state in p->ptrace
config: hexagon-randconfig-r045-20211007 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 58b68e70ebf6308f982426a2618782f473218eed)
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git/commit/?id=a0e4dbb5aa2a5180d38c539a15f49dce51fe39c7
        git remote add peterz-queue https://git.kernel.org/pub/scm/linux/kernel/git/peterz/queue.git
        git fetch --no-tags peterz-queue sched/wip-freezer
        git checkout a0e4dbb5aa2a5180d38c539a15f49dce51fe39c7
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash

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

All errors (new ones prefixed by >>):

>> kernel/ptrace.c:69:35: error: use of undeclared identifier 'task'
           lockdep_assert_task_sighand_held(task);
                                            ^
   1 error generated.


vim +/task +69 kernel/ptrace.c

    66	
    67	void ptrace_signal_wake_up(struct task_struct *t, bool resume)
    68	{
  > 69		lockdep_assert_task_sighand_held(task);
    70	
    71		if (resume)
    72			t->ptrace &= ~PT_STOPPED_MASK;
    73		signal_wake_up_state(t, resume ? __TASK_TRACED : 0);
    74	}
    75	

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

Download attachment ".config.gz" of type "application/gzip" (25214 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ