diff options
| author | Tim J. Robbins <tjr@FreeBSD.org> | 2004-06-04 11:00:22 +0000 |
|---|---|---|
| committer | Tim J. Robbins <tjr@FreeBSD.org> | 2004-06-04 11:00:22 +0000 |
| commit | c4d85674d536969346f03368de5ef5544cf20d3d (patch) | |
| tree | d2dcd8d07941b62d86f9d907f434bd7f357a1b48 | |
| parent | 456db9b6dbe7ece8701e822a5a1c7d79660a01f6 (diff) | |
Notes
| -rw-r--r-- | sys/kern/vfs_extattr.c | 4 | ||||
| -rw-r--r-- | sys/kern/vfs_syscalls.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index b3af2fe798ed4..395d168955636 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -1835,10 +1835,6 @@ kern_access(struct thread *td, char *path, enum uio_seg pathseg, int flags) * Create and modify a temporary credential instead of one that * is potentially shared. This could also mess up socket * buffer accounting which can run in an interrupt context. - * - * XXX - Depending on how "threads" are finally implemented, it - * may be better to explicitly pass the credential to namei() - * rather than to modify the potentially shared process structure. */ cred = td->td_ucred; tmpcred = crdup(cred); diff --git a/sys/kern/vfs_syscalls.c b/sys/kern/vfs_syscalls.c index b3af2fe798ed4..395d168955636 100644 --- a/sys/kern/vfs_syscalls.c +++ b/sys/kern/vfs_syscalls.c @@ -1835,10 +1835,6 @@ kern_access(struct thread *td, char *path, enum uio_seg pathseg, int flags) * Create and modify a temporary credential instead of one that * is potentially shared. This could also mess up socket * buffer accounting which can run in an interrupt context. - * - * XXX - Depending on how "threads" are finally implemented, it - * may be better to explicitly pass the credential to namei() - * rather than to modify the potentially shared process structure. */ cred = td->td_ucred; tmpcred = crdup(cred); |
