cregit-Linux how code gets into the kernel

Release 4.15 include/linux/signalfd.h

Directory: include/linux
/* SPDX-License-Identifier: GPL-2.0 */
/*
 *  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 Libenzi7472.55%228.57%
Oleg Nesterov2120.59%114.29%
Ingo Molnar32.94%114.29%
Jaswinder Singh Rajput21.96%114.29%
Greg Kroah-Hartman10.98%114.29%
David Howells10.98%114.29%
Total102100.00%7100.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.