On Mon, May 05, 2008 at 11:54:54AM +0200, Miklos Szeredi wrote:A good idea to untangle this, but I'm not entirely happy with how it's done. utimes_need_permission is a good helper and fine with me. utimes_common is a good idea aswell, but I'd rather take the permission checks into it aswell, even if that means a little flag telling if file->f_mode should be checked or vfs_permission(). do_fd_utimes sounds fine, but I don't like that name. do_futimes maybe? and when the fd-side is sorted out the path side should probably be a helper aswell. Then sys_utime/sys_utimes/arhc bits could call it directly, with the initial check in do_utimes separated out into a helper ala utimes_need_permission. do_utimes should probably become do_futimesat at the point. --
| Andrea Arcangeli | [PATCH 06 of 11] rwsem contended |
| Mikulas Patocka | LFENCE instruction (was: [rfc][patch 3/3] x86: optimise barriers) |
| Rafael J. Wysocki | Re: [Bug 10030] Suspend doesn't work when SD card is inserted |
| Manu Abraham | PCIE |
git: | |
| Sverre Rabbelier | Git vs Monotone |
| Junio C Hamano | [ANNOUNCE] GIT 1.5.4 |
| Bill Lear | Meaning of "fatal: protocol error: bad line length character"? |
| Junio C Hamano | Re: [PATCH] Teach remote machinery about remotes.default config variable |
| Richard Stallman | Real men don't attack straw men |
| Stefan Beke | mail dovecot: pipe() failed: Too many open files |
| Wijnand Wiersma | Almost success: OpenBSD on Xen |
| Didier Wiroth | how can I "find xyz | xargs tar" ... like gtar |
| Greg A. Woods | Re: Fork bomb protection patch |
| Tyler Retzlaff | Re: more summer of code fun |
| Elad Efrat | Re: sysctl knob to let sugid processes dump core (pr 15994) |
| Thor Lancelot Simon | Re: FFS journal |
