diff options
| author | Seigo Tanimura <tanimura@FreeBSD.org> | 2002-03-11 07:53:13 +0000 |
|---|---|---|
| committer | Seigo Tanimura <tanimura@FreeBSD.org> | 2002-03-11 07:53:13 +0000 |
| commit | 183ccde6c6987c08bd3ff23393185b41181a1260 (patch) | |
| tree | 67cbceb5f52dfde68f8a75843701d4ce255820e6 /sys/kern/kern_prot.c | |
| parent | aa3bf85c54ebf04619bb3a2372e7ba22e1884b4b (diff) | |
Notes
Diffstat (limited to 'sys/kern/kern_prot.c')
| -rw-r--r-- | sys/kern/kern_prot.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/kern/kern_prot.c b/sys/kern/kern_prot.c index cfcef0a36a8d..90f51964567e 100644 --- a/sys/kern/kern_prot.c +++ b/sys/kern/kern_prot.c @@ -1862,14 +1862,12 @@ setlogin(td, uap) if (error == ENAMETOOLONG) error = EINVAL; else if (!error) { - PGRPSESS_XLOCK(); PROC_LOCK(p); SESS_LOCK(p->p_session); (void) memcpy(p->p_session->s_login, logintmp, sizeof(logintmp)); SESS_UNLOCK(p->p_session); PROC_UNLOCK(p); - PGRPSESS_XUNLOCK(); } done2: mtx_unlock(&Giant); |
