cregit-Linux how code gets into the kernel

Release 4.12 include/linux/signalfd.h

Directory: include/linux
/*
 *  include/linux/signalfd.h
 *
 *  Copyright (C) 2007  Davide Libenzi <davidel@xmailserver.org>
 *
 */
#ifndef _LINUX_SIGNALFD_H

#define _LINUX_SIGNALFD_H

#include <uapi/linux/signalfd.h>
#include <linux/sched/signal.h>

#ifdef CONFIG_SIGNALFD

/*
 * Deliver the signal to listening signalfd.
 */

static inline void signalfd_notify(struct task_struct *tsk, int sig) { if (unlikely(waitqueue_active(&tsk->sighand->signalfd_wqh))) wake_up(&tsk->sighand->signalfd_wqh); }

Contributors

PersonTokensPropCommitsCommitProp
Davide Libenzi40100.00%2100.00%
Total40100.00%2100.00%

extern void signalfd_cleanup(struct sighand_struct *sighand); #else /* CONFIG_SIGNALFD */
static inline void signalfd_notify(struct task_struct *tsk, int sig) { }

Contributors

PersonTokensPropCommitsCommitProp
Davide Libenzi14100.00%2100.00%
Total14100.00%2100.00%


static inline void signalfd_cleanup(struct sighand_struct *sighand) { }

Contributors

PersonTokensPropCommitsCommitProp
Oleg Nesterov11100.00%1100.00%
Total11100.00%1100.00%

#endif /* CONFIG_SIGNALFD */ #endif /* _LINUX_SIGNALFD_H */

Overall Contributors

PersonTokensPropCommitsCommitProp
Davide Libenzi7473.27%233.33%
Oleg Nesterov2120.79%116.67%
Ingo Molnar32.97%116.67%
Jaswinder Singh Rajput21.98%116.67%
David Howells10.99%116.67%
Total101100.00%6100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.
Created with cregit.