summaryrefslogtreecommitdiff
path: root/include/linux/interrupt.h
diff options
context:
space:
mode:
authorAndrew Morton <akpm@digeo.com>2003-05-29 09:22:35 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-05-29 09:22:35 -0700
commit03d5d52eaabdcd28f5ba9539aca44d33ccaa8f32 (patch)
tree5f0425c6a92a31f245fe4c9e195e1a86c1fdfcb7 /include/linux/interrupt.h
parent3493e0abb273621e458c4f8e76a6a258203a5269 (diff)
[PATCH] Remove unneeded fcntl check
The NR_OPEN check in F_DUPFD is unneeded. viro says: "We check the limits in locate_fd() (called by dupfd()). Check for NR_OPEN can (and should) be dropped - locate_fd() will never go beyond that (expand_fd() will check it and refuse to go). "IOW, simply lose the check. We _might_ want to check signedness, but that's it (IOW, check that arg will fit into 0..MAX_INT; second argument of dupfd() is an int). OTOH, we might actually make dupfd() et.al. take unsigned long and kill that crap completely." And indeed, the signedness is suspicious, so make various things in there unsigned too.
Diffstat (limited to 'include/linux/interrupt.h')
0 files changed, 0 insertions, 0 deletions