summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp_indata.c
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-01-28 10:20:18 +0000
committerrwatson <rwatson@FreeBSD.org>2008-01-28 10:20:18 +0000
commit3043fa2dcad55ad5c0c175bbd66df5dd259e697a (patch)
tree04ba973c40fea604dcdcb98192ba5f326744089d /sys/netinet/sctp_indata.c
parent956e8b1018e703b0092adfa565b14ca20b8c13cb (diff)
downloadFreeBSD-src-3043fa2dcad55ad5c0c175bbd66df5dd259e697a.zip
FreeBSD-src-3043fa2dcad55ad5c0c175bbd66df5dd259e697a.tar.gz
Properly return the error from mls_subject_privileged() in the ifnet
relabel check for MLS rather than returning 0 directly. This problem didn't result in a vulnerability currently as the central implementation of ifnet relabeling also checks for UNIX privilege, and we currently don't guarantee containment for the root user in mac_mls, but we should be using the MLS definition of privilege as well as the UNIX definition in anticipation of supporting root containment at some point. MFC after: 3 days Submitted by: Zhouyi Zhou <zhouzhouyi at gmail dot com> Sponsored by: Google SoC 2007
Diffstat (limited to 'sys/netinet/sctp_indata.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud