aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-23 16:52:59 +0000
committeraldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277>2006-03-23 16:52:59 +0000
commit4bf9c1dece57ae04fbc1442b5ab01e75a9f26cd5 (patch)
tree0cb1b93dcb99252943f155504ea24f440fadb7e8
parent63bc334a626d8bcc6b313e781a27d6cb7891c0cb (diff)
downloadbusybox-w32-4bf9c1dece57ae04fbc1442b5ab01e75a9f26cd5.tar.gz
busybox-w32-4bf9c1dece57ae04fbc1442b5ab01e75a9f26cd5.tar.bz2
busybox-w32-4bf9c1dece57ae04fbc1442b5ab01e75a9f26cd5.zip
- correct typo
git-svn-id: svn://busybox.net/trunk/busybox@14629 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--applets/applets.c6
-rw-r--r--docs/contributing.txt2
2 files changed, 4 insertions, 4 deletions
diff --git a/applets/applets.c b/applets/applets.c
index bbe12034a..82a6417de 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -372,7 +372,7 @@ static void check_suid (struct BB_applet *applet)
372 } else 372 } else
373 setuid (ruid); /* no suid -> drop */ 373 setuid (ruid); /* no suid -> drop */
374 } else { 374 } else {
375 /* default: drop all priviledges */ 375 /* default: drop all privileges */
376 setgid (rgid); 376 setgid (rgid);
377 setuid (ruid); 377 setuid (ruid);
378 } 378 }
@@ -391,9 +391,9 @@ static void check_suid (struct BB_applet *applet)
391 391
392 if (applet->need_suid == _BB_SUID_ALWAYS) { 392 if (applet->need_suid == _BB_SUID_ALWAYS) {
393 if (geteuid () != 0) 393 if (geteuid () != 0)
394 bb_error_msg_and_die ("This applet requires root priviledges!"); 394 bb_error_msg_and_die ("This applet requires root privileges!");
395 } else if (applet->need_suid == _BB_SUID_NEVER) { 395 } else if (applet->need_suid == _BB_SUID_NEVER) {
396 setgid (rgid); /* drop all priviledges */ 396 setgid (rgid); /* drop all privileges */
397 setuid (ruid); 397 setuid (ruid);
398 } 398 }
399} 399}
diff --git a/docs/contributing.txt b/docs/contributing.txt
index e80fc135c..aad43035c 100644
--- a/docs/contributing.txt
+++ b/docs/contributing.txt
@@ -400,7 +400,7 @@ coder, you may be invited to become a committer, thus enabling you to commit
400changes directly to CVS. This is nice because you don't have to wait for 400changes directly to CVS. This is nice because you don't have to wait for
401someone else to commit your change for you, you can just do it yourself. 401someone else to commit your change for you, you can just do it yourself.
402 402
403But note that this is a priviledge that comes with some responsibilities. You 403But note that this is a privilege that comes with some responsibilities. You
404should test your changes before you commit them. You should also talk to an 404should test your changes before you commit them. You should also talk to an
405applet maintainer before you make any kind of sweeping changes to somebody 405applet maintainer before you make any kind of sweeping changes to somebody
406else's code. Big changes should still go to the mailing list first. Remember, 406else's code. Big changes should still go to the mailing list first. Remember,