On Oct 1, 9:13pm, yamt@mwd.biglobe.ne.jp (YAMAMOTO Takashi) wrote: -- Subject: Re: second pass at the "store the path of the executable in struc | > That is a good point, I just kept it because people requested it in the | > past. I can keep it in the exec package for this particular use. I don't | > mind getting rid of it. Then the pathref code can go too. | | who requested it, for what? | does their purpose really need p_pathref, | or can it be just served by name cache improvements as well? I don't recall exactly. It was part of the discussion: Filesystems have no business of calling getcwd_common() because the locking situation is hairy. Better to store the pathname in struct proc and retrieve it from there. I think that cache improvements can help that too. | > | > It is good enough for the uses procfs programs nee (finding ../lib and | > | > opening shared libraries), and you can never win with rename and unlink. | > | | > | never win? you can point the new path after rename. | > | iirc, it's what you want to follow here. ie. what linux does. | > | > Does linux really update it after a rename? | | yes. | | > What happens if you delete it? | | "foobar (deleted)". | | > What happens if a process chroots? | | i don't know. All of that can be handled by the reverse-namei cache. | > | p_pathref seems completely different thing from namei improvements to me. | > | > I meant that the cache improvements will make sure that the name is always | > found. | > | > christos | | i agree that improving name cache is the right way to implement | these functionalities. Ok, I will kill the pathref stuff then, and just use exec_package to temporarily store AT_SUN_EXECNAME. christos
| Karl Meyer | PROBLEM: 2.6.23-rc "NETDEV WATCHDOG: eth0: transmit timed out" |
| David Miller | Slow DOWN, please!!! |
| Mark Fasheh | [PATCH 0/39] Ocfs2 updates for 2.6.28 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
git: | |
| Shawn O. Pearce | Re: pack operation is thrashing my server |
| Pierre Habouzit | git send-email improvements |
| Matthieu Moy | git push to a non-bare repository |
| Shawn O. Pearce | libgit2 - a true git library |
| Elad Efrat | Integrating securelevel and kauth(9) |
| Hubert Feyrer | Re: Compressed vnd handling tested successfully |
| Lord Isildur | Re: Fork bomb protection patch |
| Matt Thomas | Re: FFS journal |
| Will Maier | cron doesn't run commands in /etc/crontab? |
| Richard Stallman | Real men don't attack straw men |
| Harald Dunkel | Re: Packet Filter: how to keep device names on hardware failure? |
| Jordi Espasa Clofent | Resolving dependencies with pkg_add |
| Question on swap as ramdisk partition | 1 hour ago | Linux kernel |
| Netfilter kernel module | 11 hours ago | Linux kernel |
| serial driver xmit problem | 14 hours ago | Linux kernel |
| Why Windows is better than Linux | 14 hours ago | Linux general |
| How can I see my kernel messages in vt12? | 21 hours ago | Linux kernel |
| Grub | 1 day ago | Linux general |
| vmalloc_fault handling in x86_64 | 1 day ago | Linux kernel |
| epoll_wait()ing on epoll FD | 1 day ago | Linux kernel |
| Framebuffer in x86_64 causes problems to multiseat | 1 day ago | Linux kernel |
| Difference between 2.4 and 2.6 regarding thread creation | 2 days ago | Linux general |
