[mmotm:master 171/242] kernel/exit.c:640:3: error: too few arguments to function 'group_send_sig_info'

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

 



tree:   git://git.cmpxchg.org/linux-mmotm.git master
head:   10b78d76f1897885d7753586ecd113e9d6728c5d
commit: 467d84a6210ea3c079b10393349a52f051d9bb95 [171/242] prctl: add PR_[GS]ET_PDEATHSIG_PROC
config: i386-tinyconfig (attached as .config)
compiler: gcc-7 (Debian 7.3.0-16) 7.3.0
reproduce:
        git checkout 467d84a6210ea3c079b10393349a52f051d9bb95
        # save the attached .config to linux build tree
        make ARCH=i386 

Note: the mmotm/master HEAD 10b78d76f1897885d7753586ecd113e9d6728c5d builds fine.
      It only hurts bisectibility.

All errors (new ones prefixed by >>):

   kernel/exit.c: In function 'reparent_leader':
>> kernel/exit.c:640:3: error: too few arguments to function 'group_send_sig_info'
      group_send_sig_info(p->signal->pdeath_signal_proc,
      ^~~~~~~~~~~~~~~~~~~
   In file included from include/linux/sched/signal.h:6:0,
                    from include/linux/sched/cputime.h:5,
                    from kernel/exit.c:14:
   include/linux/signal.h:262:12: note: declared here
    extern int group_send_sig_info(int sig, struct siginfo *info,
               ^~~~~~~~~~~~~~~~~~~

vim +/group_send_sig_info +640 kernel/exit.c

   629	
   630	/*
   631	* Any that need to be release_task'd are put on the @dead list.
   632	 */
   633	static void reparent_leader(struct task_struct *father, struct task_struct *p,
   634					struct list_head *dead)
   635	{
   636		if (unlikely(p->exit_state == EXIT_DEAD))
   637			return;
   638	
   639		if (p->signal->pdeath_signal_proc)
 > 640			group_send_sig_info(p->signal->pdeath_signal_proc,
   641					    SEND_SIG_NOINFO, p);
   642	
   643		/* We don't want people slaying init. */
   644		p->exit_signal = SIGCHLD;
   645	
   646		/* If it has exited notify the new parent about this child's death. */
   647		if (!p->ptrace &&
   648		    p->exit_state == EXIT_ZOMBIE && thread_group_empty(p)) {
   649			if (do_notify_parent(p, p->exit_signal)) {
   650				p->exit_state = EXIT_DEAD;
   651				list_add(&p->ptrace_entry, dead);
   652			}
   653		}
   654	
   655		kill_orphaned_pgrp(p, father);
   656	}
   657	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux