cregit-Linux how code gets into the kernel

Release 4.10 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>


#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 libenzidavide 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 libenzidavide libenzi14100.00%2100.00%
Total14100.00%2100.00%


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

Contributors

PersonTokensPropCommitsCommitProp
oleg nesterovoleg nesterov11100.00%1100.00%
Total11100.00%1100.00%

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

Overall Contributors

PersonTokensPropCommitsCommitProp
davide libenzidavide libenzi7475.51%240.00%
oleg nesterovoleg nesterov2121.43%120.00%
jaswinder singh rajputjaswinder singh rajput22.04%120.00%
david howellsdavid howells11.02%120.00%
Total98100.00%5100.00%
Directory: include/linux
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.