summaryrefslogtreecommitdiff
path: root/ifpps/Makefile
blob: 6c8ac43920118511ea8ca8e67273330dd8f72791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
ifpps-libs =	$(shell pkg-config --libs ncurses)

ifpps-objs =	xmalloc.o \
		ioops.o \
		promisc.o \
		str.o \
		link.o \
		sock.o \
		dev.o \
		sig.o \
		screen.o \
		ifpps.o
lected'>includemode:
authorJann Horn <jann@thejh.net>2016-07-20 10:30:30 +1000
committerDave Chinner <david@fromorbit.com>2016-07-20 10:30:30 +1000
commit7f1b62457b58f9bb586a1b2ff7fe271b56196bd2 (patch)
treed3a6277509f53a981b42cffbbe379807d029a3fe /Documentation
parent1a695a905c18548062509178b98bc91e67510864 (diff)
xfs: fix type confusion in xfs_ioc_swapext
When calling fdget() in xfs_ioc_swapext(), we need to verify that the file descriptors passed into the ioctl point to XFS inodes before we start operations on them. If we don't do this, we could be referencing arbitrary kernel memory as an XFS inode. THis could lead to memory corruption and/or performing locking operations on attacker-chosen structures in kernel memory. [dchinner: rewrite commit message ] [dchinner: add comment explaining new check ] Signed-off-by: Jann Horn <jann@thejh.net> Reviewed-by: Dave Chinner <dchinner@redhat.com> Signed-off-by: Dave Chinner <david@fromorbit.com>
Diffstat (limited to 'Documentation')