Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...
|
[SSI] openssi/kernel/kernel sys.c,1.2.2.6,1.2.2.7: msg#00130
|
Subject: |
[SSI] openssi/kernel/kernel sys.c,1.2.2.6,1.2.2.7 |
Update of /cvsroot/ssic-linux/openssi/kernel/kernel
In directory sc8-pr-cvs1:/tmp/cvs-serv24019/kernel
Modified Files:
Tag: OPENSSI-RH
sys.c
Log Message:
kernel/sys.c
- Cleaned up compiler warnings
- Modified sys_setsid() to do a group base check()
Index: sys.c
===================================================================
RCS file: /cvsroot/ssic-linux/openssi/kernel/kernel/sys.c,v
retrieving revision 1.2.2.6
retrieving revision 1.2.2.7
diff -C2 -d -r1.2.2.6 -r1.2.2.7
*** sys.c 15 Nov 2003 02:01:39 -0000 1.2.2.6
--- sys.c 25 Nov 2003 03:29:51 -0000 1.2.2.7
***************
*** 280,283 ****
--- 280,284 ----
#ifdef CONFIG_SSI
+ (void)g;
error = SETPRIORITY(which, who, niceval, current->uid,
current->euid);
***************
*** 455,458 ****
--- 456,460 ----
#ifdef CONFIG_SSI
+ (void)g;
retval = GETPRIORITY(which, who);
#else
***************
*** 1288,1291 ****
--- 1290,1296 ----
{
int err = -EPERM;
+
+ if (!thread_group_leader(current))
+ return -EINVAL;
/*
-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
|
| |