<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/netncp, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2012-06-22T05:36:37Z</updated>
<entry>
<title>MFC r236376:</title>
<updated>2012-06-22T05:36:37Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-06-22T05:36:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=bc2ea1719ae062b76507b8dfaf0a6b98e917a451'/>
<id>urn:sha1:bc2ea1719ae062b76507b8dfaf0a6b98e917a451</id>
<content type='text'>
	Add characters mapping for codepages used in Germany.

PR:		bin/163847
Approved by:	cperciva (implicit)
</content>
</entry>
<entry>
<title>MFC rev. 1.34:</title>
<updated>2008-05-16T19:56:24Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2008-05-16T19:56:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=022f61a307218ec2568f127c533dafaff6797175'/>
<id>urn:sha1:022f61a307218ec2568f127c533dafaff6797175</id>
<content type='text'>
LK_DRAIN'ed lockmgr needs to be released, so fix a wrong behaviour.
</content>
</entry>
<entry>
<title>MFC:</title>
<updated>2008-05-05T15:58:44Z</updated>
<author>
<name>Attilio Rao</name>
<email>attilio@FreeBSD.org</email>
</author>
<published>2008-05-05T15:58:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ef97551642a4f1f9415c95dcbb1cf56678fa7039'/>
<id>urn:sha1:ef97551642a4f1f9415c95dcbb1cf56678fa7039</id>
<content type='text'>
Use LOCK_FILE and LOCK_LINE with lockmgr(), add the wrapper protecting for
the public namespace for userland inclusion.
Now lockmgr depends by sys/lock.h header on RELENG_7 too.
</content>
</entry>
<entry>
<title>Commit 14/14 of sched_lock decomposition.</title>
<updated>2007-06-05T00:00:57Z</updated>
<author>
<name>Jeff Roberson</name>
<email>jeff@FreeBSD.org</email>
</author>
<published>2007-06-05T00:00:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=982d11f836278f1e95ae1ae398aa4d1d07a19006'/>
<id>urn:sha1:982d11f836278f1e95ae1ae398aa4d1d07a19006</id>
<content type='text'>
 - Use thread_lock() rather than sched_lock for per-thread scheduling
   sychronization.
 - Use the per-process spinlock rather than the sched_lock for per-process
   scheduling synchronization.

Tested by:      kris, current@
Tested on:      i386, amd64, ULE, 4BSD, libthr, libkse, PREEMPTION, etc.
Discussed with: kris, attilio, kmacy, jhb, julian, bde (small parts each)
</content>
</entry>
<entry>
<title>In ncp_conn_alloc(), a new credential pointer, 'owner', is set up to point</title>
<updated>2007-05-27T17:14:33Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2007-05-27T17:14:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=bdcfa9589b925f03253e54860d3dbef3c3828e0f'/>
<id>urn:sha1:bdcfa9589b925f03253e54860d3dbef3c3828e0f</id>
<content type='text'>
at the credential to be used by the connection.  However, the pointer's
value was ignored when actually setting hcp-&gt;nc_owner.

(1) Do set nc_owner to the owner pointer value so that the credential is
    not discarded after being carefully configured.

(2) In the case where we create a new credential with modified uid, copy
    the existing credential to initialize non-uid fields to existing
    values, which will lead to a fully initialized MAC label, groups, etc.

Found with:	Coverity Prevent(tm)
CID:		2226
</content>
</entry>
<entry>
<title>Use pause() rather than tsleep() on stack variables and function pointers.</title>
<updated>2007-02-27T17:23:29Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2007-02-27T17:23:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=4d70511ac3df7bdbff783c1b437e011ab21ae60f'/>
<id>urn:sha1:4d70511ac3df7bdbff783c1b437e011ab21ae60f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Sweep kernel replacing suser(9) calls with priv(9) calls, assigning</title>
<updated>2006-11-06T13:42:10Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-11-06T13:42:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=acd3428b7d3e94cef0e1881c868cb4b131d4ff41'/>
<id>urn:sha1:acd3428b7d3e94cef0e1881c868cb4b131d4ff41</id>
<content type='text'>
specific privilege names to a broad range of privileges.  These may
require some future tweaking.

Sponsored by:           nCircle Network Security, Inc.
Obtained from:          TrustedBSD Project
Discussed on:           arch@
Reviewed (at least in part) by: mlaier, jmg, pjd, bde, ceri,
                        Alex Lyashkov &lt;umka at sevcity dot net&gt;,
                        Skip Ford &lt;skip dot ford at verizon dot net&gt;,
                        Antoine Brodin &lt;antoine dot brodin at laposte dot net&gt;
</content>
</entry>
<entry>
<title>- Fix ncp_poll() to not panic if the socket doesn't have any pending data.</title>
<updated>2006-08-03T15:31:52Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2006-08-03T15:31:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=ac695ab41b79b77209b393560ff79e26879e36ef'/>
<id>urn:sha1:ac695ab41b79b77209b393560ff79e26879e36ef</id>
<content type='text'>
  We have to adjust curthread's state enough so that it appears to be
  in a poll(2) or select(2) call so that selrecord() will work and then
  teardown that state after calling sopoll().
- Fix some minor nits in nearby ncp_sock_rselect() and in the identical
  nbssn_rselect() function in the netsmb code:
  - Don't call nb_poll()/ncp_poll() now that ncp_poll() already fakes up
    poll(2) state since the rselect() functions already do that.  Just
    invoke sopoll() directly.
  - To make things slightly more intuitive, store the results of sopoll()
    in a new 'revents' variable rather than 'error' since that's what
    sopoll() actually returns.
  - If the requested timeout time has been exceeded by the time we get
    ready to block, then return EWOULDBLOCK rather than 0 to signal a
    timeout as this is what the calling code expects.

Tested by:	Eric Christeson &lt;eric.j.christeson AT gmail&gt; (1)
MFC after:	1 week
</content>
</entry>
<entry>
<title>soreceive_generic(), and sopoll_generic().  Add new functions sosend(),</title>
<updated>2006-07-24T15:20:08Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-07-24T15:20:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=b0668f715175467a677a4b11f75ae1ca652e118a'/>
<id>urn:sha1:b0668f715175467a677a4b11f75ae1ca652e118a</id>
<content type='text'>
soreceive(), and sopoll(), which are wrappers for pru_sosend,
pru_soreceive, and pru_sopoll, and are now used univerally by socket
consumers rather than either directly invoking the old so*() functions
or directly invoking the protocol switch method (about an even split
prior to this commit).

This completes an architectural change that was begun in 1996 to permit
protocols to provide substitute implementations, as now used by UDP.
Consumers now uniformly invoke sosend(), soreceive(), and sopoll() to
perform these operations on sockets -- in particular, distributed file
systems and socket system calls.

Architectural head nod:	sam, gnn, wollman
</content>
</entry>
<entry>
<title>In ncp_sysctl_connstat(), the SLIST_FOREACH() logic to check 'error'</title>
<updated>2006-01-14T11:40:32Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2006-01-14T11:40:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7e9803e8659bb3d2aa88f5f268095edc31257230'/>
<id>urn:sha1:7e9803e8659bb3d2aa88f5f268095edc31257230</id>
<content type='text'>
resulted in deadcode, as 'error' could never be 0.  What this logic
was originally meant to handle is not clear -- it's been this way
(broken) since at least RELENG_4.

Found with:	Coverity Prevent(tm)
MFC after:	3 days
</content>
</entry>
</feed>
