login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
February
»
28
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount requestor
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Andrew Morton
Subject:
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount requestor
Date: Thursday, February 28, 2008 - 12:59 am
On Thu, 28 Feb 2008 10:51:08 +0300 Pavel Emelyanov <xemul@openvz.org> wrote:
quoted text
> > So, why do we need the uid and gid? When someone walks over an autofs > > dentry that is meant to cause a mount we send a request packet to the > > daemon via a pipe which includes the process uid and gid, and as part of > > the lookup we set macros for several mount map substitution variables, > > derived from the uid and gid of the process requesting the mount and > > they can be used within autofs maps. > > Why do we need the uid then? Is just pid not enough to uniquely > identify a task?
The problem is that the userspace daemon is restarted. ie: it exits and is re-run. It then needs to pick up various state from its previous run. --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH 0/4] autofs4 - autofs needs a miscelaneous device f ...
, Ian Kent
, (Mon Feb 25, 8:21 pm)
[PATCH 1/4] autofs4 - check for invalid dentry in getpath
, Ian Kent
, (Mon Feb 25, 8:22 pm)
[PATCH 3/4] autofs4 - track uid and gid of last mount requ ...
, Ian Kent
, (Mon Feb 25, 8:23 pm)
[PATCH 4/4] autofs4 - add miscelaneous device for ioctls
, Ian Kent
, (Mon Feb 25, 8:23 pm)
[PATCH 2/4] autofs4 - add mount option to display mount device
, Ian Kent
, (Mon Feb 25, 9:29 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Ian Kent
, (Mon Feb 25, 10:14 pm)
Re: [PATCH 0/4] autofs4 - autofs needs a miscelaneous devi ...
, Andrew Morton
, (Wed Feb 27, 9:40 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Andrew Morton
, (Wed Feb 27, 9:45 pm)
Re: [PATCH 4/4] autofs4 - add miscelaneous device for ioctls
, Andrew Morton
, (Wed Feb 27, 10:17 pm)
Re: [PATCH 2/4] autofs4 - add mount option to display moun ...
, Andrew Morton
, (Wed Feb 27, 10:17 pm)
Re: [PATCH 0/4] autofs4 - autofs needs a miscelaneous devi ...
, Ian Kent
, (Wed Feb 27, 11:07 pm)
Re: [PATCH 4/4] autofs4 - add miscelaneous device for ioctls
, Ian Kent
, (Wed Feb 27, 11:18 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Ian Kent
, (Wed Feb 27, 11:22 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Andrew Morton
, (Wed Feb 27, 11:37 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Ian Kent
, (Thu Feb 28, 12:08 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Andrew Morton
, (Thu Feb 28, 12:23 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Pavel Emelyanov
, (Thu Feb 28, 12:51 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Andrew Morton
, (Thu Feb 28, 12:59 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Ian Kent
, (Thu Feb 28, 1:00 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Ian Kent
, (Thu Feb 28, 1:06 am)
Re: [autofs] [PATCH 3/4] autofs4 - track uid and gid of la ...
, Fabio Olive Leite
, (Thu Feb 28, 5:31 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Jeff Moyer
, (Thu Feb 28, 10:13 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Serge E. Hallyn
, (Thu Feb 28, 12:51 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Eric W. Biederman
, (Thu Feb 28, 1:33 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Ian Kent
, (Thu Feb 28, 8:32 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Serge E. Hallyn
, (Fri Feb 29, 9:09 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Pavel Emelyanov
, (Fri Feb 29, 9:20 am)
Re: [PATCH 4/4] autofs4 - add miscelaneous device for ioctls
, Ian Kent
, (Fri Feb 29, 9:24 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Serge E. Hallyn
, (Fri Feb 29, 10:42 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Eric W. Biederman
, (Sat Mar 1, 5:49 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Eric W. Biederman
, (Sat Mar 1, 6:13 pm)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Serge E. Hallyn
, (Mon Mar 3, 8:28 am)
Re: [PATCH 3/4] autofs4 - track uid and gid of last mount ...
, Eric W. Biederman
, (Tue Mar 4, 3:16 pm)
[RFC] Re: [PATCH 4/4] autofs4 - add miscelaneous device fo ...
, Ian Kent
, (Thu Mar 13, 12:00 am)
Re: [RFC] Re: [PATCH 4/4] autofs4 - add miscelaneous devic ...
, Ian Kent
, (Thu Mar 13, 7:45 pm)
Re: [RFC] Re: [PATCH 4/4] autofs4 - add miscelaneous devic ...
, Thomas Graf
, (Fri Mar 14, 5:45 am)
Re: [RFC] Re: [PATCH 4/4] autofs4 - add miscelaneous devic ...
, Ian Kent
, (Fri Mar 14, 7:10 am)
Re: [PATCH 4/4] autofs4 - add miscelaneous device for ioctls
, Ian Kent
, (Fri Apr 11, 12:02 am)
Re: [PATCH 4/4] autofs4 - add miscelaneous device for ioctls
, Andrew Morton
, (Fri Apr 11, 9:03 pm)
Re: [PATCH 4/4] autofs4 - add miscelaneous device for ioctls
, Ian Kent
, (Sun Apr 13, 9:45 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Stephen Smalley
Re: [AppArmor 39/45] AppArmor: Profile loading and manipulation, pathname matching
FUJITA Tomonori
Re: [Scst-devel] Integration of SCST in the mainstream Linux kernel
Borislav Petkov
drm_vm.c:drm_mmap: possible circular locking dependency detected (was: Re: Linux 2...
Alex Riesen
Re: [PATCH 4/7] lib: Introduce strnstr()
Arnd Bergmann
Re: [PATCH] rcu: remove SPARSE_RCU_POINTER
git
:
Mike Miller
git message
Wincent Colaiuta
Re: [RFC PATCH] Make the rebase edit mode really end up in an edit state
Johannes Schindelin
Re: [PATCH] Fix install-doc-quick target
Scott Chacon
Re: why not TortoiseGit
Marcel Holtmann
Re: Remove unneeded packs
git-commits-head
:
Linux Kernel Mailing List
mm: fix build on non-mmu machines
Linux Kernel Mailing List
i915: Don't whine when pci_enable_msi() fails.
Linux Kernel Mailing List
powerpc/kexec: Add support for FSL-BookE
Linux Kernel Mailing List
Staging: rt2870: Removal of kernel_thread() API
Linux Kernel Mailing List
[ARM] 4671/1: ep93xx: remove obsolete gpio_line_* operations
linux-netdev
:
Arnaldo Carvalho de Melo
Re: [PATCH 06/37] dccp: Limit feature negotiation to connection setup phase
Sebastian Andrzej Siewior
[PATCH v2] net/core: use ntohs for skb->protocol
Badalian Vyacheslav
Re: tc filter flow hash question
Parav Pandit
ip6 route output() and ip_route_output_key() by drivers
Jarek Poplawski
Re: tc filter flow hash question
openbsd-misc
:
Tony Abernethy
Re: The Atheros story in much fewer words
"RALOVICH, Kristóf"
Re: thinkpad windows refund
Kevin
Re: uvm_mapent_alloc: out of static map entries on 4.3 i386
Nick Holland
Re: Install OpenBSD from USB ?
Daniel Ouellet
sysctl kern.maxproc help needed
Colocation donated by:
Syndicate