diff options
author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-23 16:52:59 +0000 |
---|---|---|
committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-03-23 16:52:59 +0000 |
commit | 4bf9c1dece57ae04fbc1442b5ab01e75a9f26cd5 (patch) | |
tree | 0cb1b93dcb99252943f155504ea24f440fadb7e8 | |
parent | 63bc334a626d8bcc6b313e781a27d6cb7891c0cb (diff) | |
download | busybox-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.c | 6 | ||||
-rw-r--r-- | docs/contributing.txt | 2 |
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 | |||
400 | changes directly to CVS. This is nice because you don't have to wait for | 400 | changes directly to CVS. This is nice because you don't have to wait for |
401 | someone else to commit your change for you, you can just do it yourself. | 401 | someone else to commit your change for you, you can just do it yourself. |
402 | 402 | ||
403 | But note that this is a priviledge that comes with some responsibilities. You | 403 | But note that this is a privilege that comes with some responsibilities. You |
404 | should test your changes before you commit them. You should also talk to an | 404 | should test your changes before you commit them. You should also talk to an |
405 | applet maintainer before you make any kind of sweeping changes to somebody | 405 | applet maintainer before you make any kind of sweeping changes to somebody |
406 | else's code. Big changes should still go to the mailing list first. Remember, | 406 | else's code. Big changes should still go to the mailing list first. Remember, |