<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/compat, branch release/9.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F9.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-06-03T08:08:12Z</updated>
<entry>
<title>MFC r266924:</title>
<updated>2014-06-03T08:08:12Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2014-06-03T08:08:12Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=19bd64a6478041e1791e5a2d5430d9caa1b6bc5b'/>
<id>urn:sha1:19bd64a6478041e1791e5a2d5430d9caa1b6bc5b</id>
<content type='text'>
Glibc was switched to the FUTEX_WAIT_BITSET op and CLOCK_REALTIME
flag has been added instead of FUTEX_WAIT to replace the FUTEX_WAIT
logic which needs to do gettimeofday() calls before the futex syscall
to convert the absolute timeout to a relative timeout.
Before this the CLOCK_MONOTONIC used by the FUTEX_WAIT_BITSET op.

When the FUTEX_CLOCK_REALTIME is specified the timeout is an absolute
time, not a relative time. Rework futex_wait to handle this.
On the side fix the futex leak in error case and remove      useless
parentheses.

Properly calculate the timeout for the CLOCK_MONOTONIC case.

Tested by:      Hans Petter Selasky

Approved by:	re (glebius)
</content>
</entry>
<entry>
<title>MFC r266782:</title>
<updated>2014-06-02T19:28:11Z</updated>
<author>
<name>Dmitry Chagin</name>
<email>dchagin@FreeBSD.org</email>
</author>
<published>2014-06-02T19:28:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=39ef67f9c025d1bd2c9888a4d9b49cf7b4b7cc8e'/>
<id>urn:sha1:39ef67f9c025d1bd2c9888a4d9b49cf7b4b7cc8e</id>
<content type='text'>
In r218101 I have not changed properly the futex syscall definition.
Some Linux futex ops atomically verifies that the futex address uaddr
(uval) contains the value val. Comparing signed uval and unsigned val
may lead to an unexpected result, mostly to a deadlock.

So copyin uaddr to an unsigned int to compare the parameters correctly.

While here change ktr records to print parameters in more readable format.

Approved by:	re (glebius)
</content>
</entry>
<entry>
<title>MFC r263349:</title>
<updated>2014-03-26T17:00:37Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-03-26T17:00:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=738309da52440eb4fc23162472b067f0d33a01d2'/>
<id>urn:sha1:738309da52440eb4fc23162472b067f0d33a01d2</id>
<content type='text'>
Make the array pointed to by AT_PAGESIZES auxv properly aligned.
</content>
</entry>
<entry>
<title>MFC r263289: Update NetBSD Foundation copyrights to 2-clause BSD</title>
<updated>2014-03-24T13:50:11Z</updated>
<author>
<name>Ed Maste</name>
<email>emaste@FreeBSD.org</email>
</author>
<published>2014-03-24T13:50:11Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8b653270d0e2505e629ffc4726e18d661547b75c'/>
<id>urn:sha1:8b653270d0e2505e629ffc4726e18d661547b75c</id>
<content type='text'>
  The NetBSD Foundation states "Third parties are encouraged to change the
  license on any files which have a 4-clause license contributed to the
  NetBSD Foundation to a 2-clause license."

  This change removes clauses 3 and 4 from copyright / license blocks that
  list The NetBSD Foundation as the only copyright holder.

Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r262539:</title>
<updated>2014-03-13T03:57:33Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2014-03-13T03:57:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=72da21c447e2cb7e5d7cb284924dbb15d92e6b15'/>
<id>urn:sha1:72da21c447e2cb7e5d7cb284924dbb15d92e6b15</id>
<content type='text'>
linprocfs: add support for /sys/kernel/random/uuid

PR:		kern/186187
</content>
</entry>
<entry>
<title>MFC r258622,258675: dtrace sdt: remove the ugly sname parameter of</title>
<updated>2014-02-17T13:58:50Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2014-02-17T13:58:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9e5c74464b4f93205b751421c28a8a1c80283947'/>
<id>urn:sha1:9e5c74464b4f93205b751421c28a8a1c80283947</id>
<content type='text'>
SDT_PROBE_DEFINE
</content>
</entry>
<entry>
<title>MFC r255971: Fix some typos that were causing probe argument types to</title>
<updated>2014-02-17T13:53:01Z</updated>
<author>
<name>Andriy Gapon</name>
<email>avg@FreeBSD.org</email>
</author>
<published>2014-02-17T13:53:01Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=001d12d325535346276661d9f136ee1d3eeb29d9'/>
<id>urn:sha1:001d12d325535346276661d9f136ee1d3eeb29d9</id>
<content type='text'>
show up as unknown

MFC slacker:	markj
</content>
</entry>
<entry>
<title>MFC r261080:</title>
<updated>2014-02-06T19:47:50Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2014-02-06T19:47:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=72e62b2dee1220f4ba0b1c88823a7717fad437b6'/>
<id>urn:sha1:72e62b2dee1220f4ba0b1c88823a7717fad437b6</id>
<content type='text'>
The posix_fallocate(2) syscall should return error number on error,
without modifying errno.

MFC r261290:
The posix_madvise(3) and posix_fadvise(2) should return error on
failure, same as posix_fallocate(2).
</content>
</entry>
<entry>
<title>Regen.</title>
<updated>2014-01-03T08:31:42Z</updated>
<author>
<name>Sergey Kandaurov</name>
<email>pluknet@FreeBSD.org</email>
</author>
<published>2014-01-03T08:31:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ed5e207d2027a814b0bf3034693bc287fdaa5e66'/>
<id>urn:sha1:ed5e207d2027a814b0bf3034693bc287fdaa5e66</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC 255708,255711,255731:</title>
<updated>2014-01-02T21:57:03Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2014-01-02T21:57:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5554d391786b5c1baf9ae11a5a3e18ea66829636'/>
<id>urn:sha1:5554d391786b5c1baf9ae11a5a3e18ea66829636</id>
<content type='text'>
Extend the support for exempting processes from being killed when swap is
exhausted.
- Add a new protect(1) command that can be used to set or revoke protection
  from arbitrary processes.  Similar to ktrace it can apply a change to all
  existing descendants of a process as well as future descendants.
- Add a new procctl(2) system call that provides a generic interface for
  control operations on processes (as opposed to the debugger-specific
  operations provided by ptrace(2)).  procctl(2) uses a combination of
  idtype_t and an id to identify the set of processes on which to operate
  similar to wait6().
- Add a PROC_SPROTECT control operation to manage the protection status
  of a set of processes.  MADV_PROTECT still works for backwards
  compatability.
- Add a p_flag2 to struct proc (and a corresponding ki_flag2 to kinfo_proc)
  the first bit of which is used to track if P_PROTECT should be inherited
  by new child processes.
</content>
</entry>
</feed>
