From: Robert W. <ro...@us...> - 2005-08-31 20:27:53
|
Update of /cvsroot/ltp/ltp/testcases/kernel/syscalls/bind In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26404/testcases/kernel/syscalls/bind Modified Files: bind02.c Log Message: Applied a load of patches submitted to the mailing list by Gentoo's Mike Frysinger Index: bind02.c =================================================================== RCS file: /cvsroot/ltp/ltp/testcases/kernel/syscalls/bind/bind02.c,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** bind02.c 6 Jul 2004 22:33:21 -0000 1.1 --- bind02.c 31 Aug 2005 20:27:14 -0000 1.2 *************** *** 79,84 **** void try_bind(){ struct sockaddr_in servaddr; ! int sockfd, n, r_value; ! int r_code=0; // Set effective user/group --- 79,83 ---- void try_bind(){ struct sockaddr_in servaddr; ! int sockfd, r_value; // Set effective user/group *************** *** 132,138 **** int main(int argc,char *argv[]){ - uid_t uid_nobody; - gid_t gid_nobody; - if (argc != 2) { tst_resm(TINFO,"Defaulting to user nobody"); --- 131,134 ---- |