Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 743
b: refs/heads/master
c: e5bdd88
h: refs/heads/master
i:
  741: 6a5a0ca
  739: a227e84
  735: 07b8a37
v: v3
  • Loading branch information
Jesper Juhl authored and Linus Torvalds committed May 1, 2005
1 parent ba45d43 commit d5a2a37
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1c72d46d98e4eb16f1a1b38eba94cc3aa8022cfa
refs/heads/master: e5bdd883a189243541e7a132385580703b049102
6 changes: 6 additions & 0 deletions trunk/include/linux/signal.h
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@ static inline void init_sigpending(struct sigpending *sig)
INIT_LIST_HEAD(&sig->list);
}

/* Test if 'sig' is valid signal. Use this instead of testing _NSIG directly */
static inline int valid_signal(unsigned long sig)
{
return sig <= _NSIG ? 1 : 0;
}

extern int group_send_sig_info(int sig, struct siginfo *info, struct task_struct *p);
extern int __group_send_sig_info(int, struct siginfo *, struct task_struct *);
extern long do_sigpending(void __user *, unsigned long);
Expand Down

0 comments on commit d5a2a37

Please sign in to comment.