PERFORCE change 107868 for review
Roman Divacky
rdivacky at FreeBSD.org
Sat Oct 14 02:55:55 PDT 2006
http://perforce.freebsd.org/chv.cgi?CH=107868
Change 107868 by rdivacky at rdivacky_witten on 2006/10/14 09:55:19
Implement LINUX_SIG_VALID() macro for checking of validity of linux signal
passed in.
Affected files ...
.. //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#6 edit
.. //depot/projects/linuxolator/src/sys/compat/linux/linux_signal.h#2 edit
Differences ...
==== //depot/projects/linuxolator/src/sys/compat/linux/linux_misc.c#6 (text+ko) ====
@@ -1545,3 +1545,8 @@
return (0);
}
+
+int
+linux_prctl(struct thread *td, struct linux_prctl_args *args)
+{
+}
==== //depot/projects/linuxolator/src/sys/compat/linux/linux_signal.h#2 (text+ko) ====
@@ -35,4 +35,7 @@
void bsd_to_linux_sigset(sigset_t *, l_sigset_t *);
int linux_do_sigaction(struct thread *, int, l_sigaction_t *, l_sigaction_t *);
+#define LINUX_NSIG 64
+#define LINUX_SIG_VALID(sig) ((sig) <= LINUX_NSIG && (sig) > 0)
+
#endif /* _LINUX_SIGNAL_H_ */
More information about the p4-projects
mailing list