summaryrefslogtreecommitdiffstats
path: root/usr.bin/su
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2002-05-28 06:47:32 +0000
committerdes <des@FreeBSD.org>2002-05-28 06:47:32 +0000
commit0b10af209d842d5d3af312739cf29e3f666656ec (patch)
tree7f5d829c94d8bfcbd9f37b9f4ae371a937b04492 /usr.bin/su
parent5de2aebb49543b7e236994858e36b90785bc7e91 (diff)
downloadFreeBSD-src-0b10af209d842d5d3af312739cf29e3f666656ec.zip
FreeBSD-src-0b10af209d842d5d3af312739cf29e3f666656ec.tar.gz
Drive-by whitespace cleanup & add NAI copyright
Diffstat (limited to 'usr.bin/su')
-rw-r--r--usr.bin/su/su.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 34f8ecf..ec11570 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -1,6 +1,13 @@
/*
* Copyright (c) 1988, 1993, 1994
* The Regents of the University of California. All rights reserved.
+ * Copyright (c) 2002 Networks Associates Technologies, Inc.
+ * All rights reserved.
+ *
+ * Portions of this software were developed for the FreeBSD Project by
+ * ThinkSec AS and NAI Labs, the Security Research Division of Network
+ * Associates, Inc. under DARPA/SPAWAR contract N66001-01-C-8035
+ * ("CBOSS"), as part of the DARPA CHATS research program.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -117,7 +124,7 @@ main(int argc, char *argv[])
union {
const char **a;
char * const *b;
- } np;
+ } np;
uid_t ruid;
gid_t gid;
int asme, ch, asthem, fastlogin, prio, i, setwhat, retcode,
@@ -317,7 +324,7 @@ main(int argc, char *argv[])
child_pgrp = tcgetpgrp(1);
kill(getpid(), SIGSTOP);
tcsetpgrp(1, child_pgrp);
- kill(child_pid, SIGCONT);
+ kill(child_pid, SIGCONT);
statusp = 1;
continue;
}
OpenPOWER on IntegriCloud