login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
14
Re: file offset corruption on 32-bit machines?
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Alan Cox
Subject:
Re: file offset corruption on 32-bit machines?
Date: Monday, April 14, 2008 - 9:54 am
> Well, but imagine you have a file /proc/my_secret_file from which you
quoted text
> are able to read from position A:a and B:b but not from position > A:b. Concievably, checks for the file position could be bypassed because of > this race... I know this is kind of dumb example but I can imagine someone
Unlikely as the ppos passed to the driver is a private copy and the user could equally use pread/pwrite to specify that offset. --
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:
Re: file offset corruption on 32-bit machines?
, Bodo Eggert
, (Fri Apr 11, 5:24 am)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Fri Apr 11, 6:55 am)
Re: file offset corruption on 32-bit machines?
, Bryan Henderson
, (Fri Apr 11, 9:59 am)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Fri Apr 11, 10:15 am)
Re: file offset corruption on 32-bit machines?
, Bryan Henderson
, (Fri Apr 11, 2:29 pm)
Re: file offset corruption on 32-bit machines?
, Pavel Machek
, (Sat Apr 12, 1:48 am)
Re: file offset corruption on 32-bit machines?
, Jan Kara
, (Mon Apr 14, 9:20 am)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Mon Apr 14, 9:22 am)
Re: file offset corruption on 32-bit machines?
, Jan Kara
, (Mon Apr 14, 9:53 am)
Re: file offset corruption on 32-bit machines?
, Alan Cox
, (Mon Apr 14, 9:54 am)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Mon Apr 14, 10:06 am)
Re: file offset corruption on 32-bit machines?
, Alexey Dobriyan
, (Mon Apr 14, 11:34 am)
Re: file offset corruption on 32-bit machines?
, Jan Kara
, (Mon Apr 14, 12:03 pm)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Mon Apr 14, 12:29 pm)
Re: file offset corruption on 32-bit machines?
, Jan Kara
, (Mon Apr 14, 12:42 pm)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Mon Apr 14, 12:45 pm)
Re: file offset corruption on 32-bit machines?
, Pavel Machek
, (Tue Apr 15, 1:57 am)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Tue Apr 15, 8:32 am)
Re: file offset corruption on 32-bit machines?
, Pavel Machek
, (Tue Apr 15, 10:34 am)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Tue Apr 15, 11:24 am)
Re: file offset corruption on 32-bit machines?
, Pavel Machek
, (Tue Apr 15, 12:12 pm)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Tue Apr 15, 12:49 pm)
Re: file offset corruption on 32-bit machines?
, Pavel Machek
, (Tue Apr 15, 1:06 pm)
Re: file offset corruption on 32-bit machines?
, Peter Zijlstra
, (Tue Apr 15, 1:28 pm)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Tue Apr 15, 1:29 pm)
Re: file offset corruption on 32-bit machines?
, Bryan Henderson
, (Tue Apr 15, 3:11 pm)
Re: file offset corruption on 32-bit machines?
, Pavel Machek
, (Wed Apr 16, 1:15 am)
Re: file offset corruption on 32-bit machines?
, Peter Zijlstra
, (Wed Apr 16, 1:20 am)
Re: file offset corruption on 32-bit machines?
, Jamie Lokier
, (Wed Apr 16, 2:40 am)
Re: file offset corruption on 32-bit machines?
, Alan Cox
, (Wed Apr 16, 3:54 am)
Re: file offset corruption on 32-bit machines?
, Lennart Sorensen
, (Wed Apr 16, 6:57 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Greg Kroah-Hartman
[PATCH 17/36] sysdev: detect multiple driver registrations
Sam Ravnborg
Re: [PATCH] kbuild: fix make V=1
Nick Piggin
Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures
Greg Kroah-Hartman
[PATCH 16/36] driver core: cpu: fix section mismatch in cpu.c:store_online
Greg Kroah-Hartman
[PATCH 22/36] PM: Make wakeup flags available whenever CONFIG_PM is set
git
:
Junio C Hamano
Re: [PATCH 1/2] Teach git-describe to display distances from tags.
Johannes Schindelin
Re: [PATCH 2/2] git-svn: support fetch with autocrlf on
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Junio C Hamano
Re: [PATCH 6/6] Teach core object handling functions about gitlinks
Johan Herland
[PATCH 6/7] Softrefs: Administrivia associated with softrefs subsystem and git-sof...
linux-netdev
:
Jarek Poplawski
Re: [PATCH] flush_work_sync vs. flush_scheduled_work Re: [PATCH] PHYLIB: IRQ event...
Lennert Buytenhek
Re: Distributed Switch Architecture(DSA)
Daniel Schaffrath
Re: tcp bw in 2.6
Guo-Fu Tseng
Re: jme: UDP checksum error, and lots of them
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Conor
Re: RFID Reader
Josh Grosse
ssh/sshd challenge-response seems to have stopped working in -current
Pieter Verberne
File collision while using pkg_add
Stuart Henderson
Re: SquidGuard problem
Community First Financial
Teacher A+ Loan
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
ath9k: Added get_survey callback in order to get channel noise
Linux Kernel Mailing List
ALSA: snd-usb-caiaq: Do not expose hardware input mode 0 of A4DJ
Linux Kernel Mailing List
tracing: protect reader of cmdline output
Linux Kernel Mailing List
kconfig: recalc symbol value before showing search results
Colocation donated by:
Syndicate