Re: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-03-11 Thread Jiri Slaby
On 03/10/2015, 11:41 PM, One Thousand Gnomes wrote: > On Mon, 09 Mar 2015 11:01:12 +0100 > Jiri Slaby wrote: > >> On 03/06/2015, 02:16 PM, Raymond Jennings wrote: >>> On Fri, 2015-02-27 at 18:40 +0100, Jiri Slaby wrote: So check the absolute difference of times and if it large than "8 s

Re: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-03-10 Thread One Thousand Gnomes
On Mon, 09 Mar 2015 11:01:12 +0100 Jiri Slaby wrote: > On 03/06/2015, 02:16 PM, Raymond Jennings wrote: > > On Fri, 2015-02-27 at 18:40 +0100, Jiri Slaby wrote: > >> So check the absolute difference of times and if it large than "8 > >> seconds or so", always update the time. That means we will u

Re: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-03-09 Thread Jiri Slaby
On 03/06/2015, 02:16 PM, Raymond Jennings wrote: > On Fri, 2015-02-27 at 18:40 +0100, Jiri Slaby wrote: >> So check the absolute difference of times and if it large than "8 >> seconds or so", always update the time. That means we will update >> immediatelly when changing time. Ergo, CAP_SYS_TIME ca

Re: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-03-06 Thread Raymond Jennings
On Fri, 2015-02-27 at 18:40 +0100, Jiri Slaby wrote: > So check the absolute difference of times and if it large than "8 > seconds or so", always update the time. That means we will update > immediatelly when changing time. Ergo, CAP_SYS_TIME can foul the > check, but it was always that way. If I

RE: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-02-27 Thread Perry, John Paul G (John Paul)** CTR **
1/1] tty: fix up atime/mtime mess, take four On Fri, Feb 27, 2015 at 06:40:31PM +0100, Jiri Slaby wrote: > This problem was taken care of three times already in > * b0de59b5733d18b0d1974a060860a8b5c1b36a2e (TTY: do not update > atime/mtime on r

Re: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-02-27 Thread Greg KH
On Fri, Feb 27, 2015 at 06:40:31PM +0100, Jiri Slaby wrote: > This problem was taken care of three times already in > * b0de59b5733d18b0d1974a060860a8b5c1b36a2e (TTY: do not update > atime/mtime on read/write), > * 37b7f3c76595e23257f61bd80b223de8658617ee (TTY: fix atime/mtime > regression), an

Re: [PATCH 1/1] tty: fix up atime/mtime mess, take four

2015-02-27 Thread Linus Torvalds
Looks sane, On Fri, Feb 27, 2015 at 9:40 AM, Jiri Slaby wrote: > Cc: Linus Torvalds Acked-by: Linus Torvalds Linus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at ht