<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/security, branch release/11.0.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.0.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2016-06-13T09:22:20Z</updated>
<entry>
<title>Implement AUE_PREAD and AUE_PWRITE BSM conversion support, eliminating</title>
<updated>2016-06-13T09:22:20Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2016-06-13T09:22:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2aa8c03917945db18e717f3f844ca79d788e3e25'/>
<id>urn:sha1:2aa8c03917945db18e717f3f844ca79d788e3e25</id>
<content type='text'>
console warnings when pread(2) and pwrite(2) are used with full
system-call auditing enabled.  We audit the same file-descriptor data
for these calls as we do read(2) and write(2).

Approved by:	re (kib)
MFC after:	3 days
Sponsored by:	DARPA, AFRL
</content>
</entry>
<entry>
<title>sys/security: minor spelling fixes.</title>
<updated>2016-05-06T16:59:04Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-05-06T16:59:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=bc5ade0d1069d1c1fdfe74edd210bb58228fd52b'/>
<id>urn:sha1:bc5ade0d1069d1c1fdfe74edd210bb58228fd52b</id>
<content type='text'>
No functional change.
</content>
</entry>
<entry>
<title>sys: use our nitems() macro when param.h is available.</title>
<updated>2016-04-21T19:40:10Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-21T19:40:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=323b076e9c3bdccf78698ad0f1934ca8ec5438ce'/>
<id>urn:sha1:323b076e9c3bdccf78698ad0f1934ca8ec5438ce</id>
<content type='text'>
This should cover all the remaining cases in the kernel.

Discussed in:	freebsd-current
</content>
</entry>
<entry>
<title>Remove slightly used const values that can be replaced with nitems().</title>
<updated>2016-04-21T15:38:28Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-21T15:38:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8dfea46460a0befc49458e87d2078a5ca100e0eb'/>
<id>urn:sha1:8dfea46460a0befc49458e87d2078a5ca100e0eb</id>
<content type='text'>
Suggested by:	jhb
</content>
</entry>
<entry>
<title>audit(8): leave unsigned comparison for last.</title>
<updated>2016-04-08T03:26:21Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2016-04-08T03:26:21Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=2e4eeb703a5c5b7156051481d55dd31438ea1ada'/>
<id>urn:sha1:2e4eeb703a5c5b7156051481d55dd31438ea1ada</id>
<content type='text'>
aq64_minfree is unsigned so comparing to find out if it is less
than zero is a nonsense. Move the comparison to the last position
as we don't want to spend time if any of the others triggers first.

hile it would be tempting to just remove it, it may be important to
keep  it for portability with platforms where may be signed(?) or
in case we may want to change it in the future.
</content>
</entry>
<entry>
<title>Busy the mount point which is the owner of the audit vnode, around</title>
<updated>2016-01-16T10:06:33Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-01-16T10:06:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=27725229dc70ab61724e62c53e220c99535da329'/>
<id>urn:sha1:27725229dc70ab61724e62c53e220c99535da329</id>
<content type='text'>
audit_record_write().  This is important so that VFS_STATFS() is not
done on the NULL or freed mp and the check for free space is
consistent with the vnode used for write.

Add vn_start_write() braces around VOP_FSYNC() calls on the audit vnode.

Move repeated code to fsync vnode and panic to the helper
audit_worker_sync_vp().

Reviewed by:	rwatson
Tested by:	pho
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
</content>
</entry>
<entry>
<title>Move the funsetown(9) call from audit_pipe_close() to cdevpriv</title>
<updated>2016-01-13T14:02:07Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2016-01-13T14:02:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=c77f6350ee35c60d4397731b2992e6386e935597'/>
<id>urn:sha1:c77f6350ee35c60d4397731b2992e6386e935597</id>
<content type='text'>
destructor.  As result, close method becomes trivial and removed.
Final cdevsw close method might be called without file
context (e.g. in vn_open_vnode() if the vnode is reclaimed meantime),
which leaves ap_sigio registered for notification, despite cdevpriv
destructor frees the memory later.

Call destructor instead of doing a cleanup inline, for
devfs_set_cdevpriv() failure in open.  This adds missed funsetown(9)
call and locks ap to satisfy audit_pipe_free() invariants.

Reported and tested by:	pho (previous version)
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
</content>
</entry>
<entry>
<title>Merge from contrib/openbsm to bring the kernel audit bits up to date with OpenBSM 1.2 alpha 4:</title>
<updated>2015-12-20T23:22:04Z</updated>
<author>
<name>Christian Brueffer</name>
<email>brueffer@FreeBSD.org</email>
</author>
<published>2015-12-20T23:22:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=8a0f5c0b6cad9aeeb8bd6177e2a13da949ce7643'/>
<id>urn:sha1:8a0f5c0b6cad9aeeb8bd6177e2a13da949ce7643</id>
<content type='text'>
- remove $P4$
- fix a comment
</content>
</entry>
<entry>
<title>Fix style issues around existing SDT probes.</title>
<updated>2015-12-16T23:39:27Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2015-12-16T23:39:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=3616095801ad27acef8e2abb963e280cd38658db'/>
<id>urn:sha1:3616095801ad27acef8e2abb963e280cd38658db</id>
<content type='text'>
- Use SDT_PROBE&lt;N&gt;() instead of SDT_PROBE(). This has no functional effect
  at the moment, but will be needed for some future changes.
- Don't hardcode the module component of the probe identifier. This is
  set automatically by the SDT framework.

MFC after:	1 week
</content>
</entry>
<entry>
<title>fd: make 'rights' a manadatory argument to fget* functions</title>
<updated>2015-07-05T19:05:16Z</updated>
<author>
<name>Mateusz Guzik</name>
<email>mjg@FreeBSD.org</email>
</author>
<published>2015-07-05T19:05:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=f131759f543875b3d10063a2d272a878549c6ea4'/>
<id>urn:sha1:f131759f543875b3d10063a2d272a878549c6ea4</id>
<content type='text'>
</content>
</entry>
</feed>
