Skip to contentSkip to conversation

kernel:acct - Fix typos in comment to file header.

PATCH In review Shailendra Verma 2 participants 2 messages May 23, 2015 – May 29, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel:acct - Fix typos in comment to file header.

---
 kernel/acct.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/acct.c +2 -2
index 74963d1..fa972fa 100644
@@ -24,8 +24,8 @@
  *  Now we silently close acct_file on attempt to reopen. Cleaned sys_acct().
  *  XTerms and EMACS are manifestations of pure evil. 21/10/98, AV.
  *
- *  Fixed a nasty interaction with with sys_umount(). If the accointing
- *  was suspeneded we failed to stop it on umount(). Messy.
+ *  Fixed a nasty interaction with with sys_umount(). If the accounting
+ *  was suspended we failed to stop it on umount(). Messy.
  *  Another one: remount to readonly didn't stop accounting.
  *	Question: what should we do if we have CAP_SYS_ADMIN but not
  *  CAP_SYS_PACCT? Current code does the following: umount returns -EBUSY
Signature · 1 line
1.7.9.5
#1 lore raw
Quoted 10 lines · Shailendra Verma
---
 kernel/acct.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
kernel/acct.c +0 -0
index 74963d1..fa972fa 100644

kernel/acct.c line 27

Quoted 6 lines
kernel/acct.c +1 -2
@@ -24,8 +24,8 @@
  *  Now we silently close acct_file on attempt to reopen. Cleaned sys_acct().
  *  XTerms and EMACS are manifestations of pure evil. 21/10/98, AV.
  *
- *  Fixed a nasty interaction with with sys_umount(). If the accointing
- *  was suspeneded we failed to stop it on umount(). Messy.
+ *  Fixed a nasty interaction with with sys_umount(). If the accounting

You can also drop one of the double "with with" words.

Quoted 5 lines
kernel/acct.c +1 -0
+ *  was suspended we failed to stop it on umount(). Messy.
  *  Another one: remount to readonly didn't stop accounting.
  *	Question: what should we do if we have CAP_SYS_ADMIN but not
  *  CAP_SYS_PACCT? Current code does the following: umount returns -EBUSY
Signature · 1 line
~Randy