<feed xmlns='http://www.w3.org/2005/Atom'>
<title>musl/include/sys, branch v1.1.7</title>
<subtitle>musl - an implementation of the standard library for Linux-based systems</subtitle>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/'/>
<entry>
<title>declare incomplete type struct itimerspec in timerfd.h</title>
<updated>2015-03-04T19:38:08+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2015-03-04T19:38:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=9c3da8968d5c811452c575b3918fceaf561e5089'/>
<id>9c3da8968d5c811452c575b3918fceaf561e5089</id>
<content type='text'>
normally time.h would provide a definition for this struct, but
depending on the feature test macros in use, it may not be exposed,
leading to warnings when it's used in the function prototypes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
normally time.h would provide a definition for this struct, but
depending on the feature test macros in use, it may not be exposed,
leading to warnings when it's used in the function prototypes.
</pre>
</div>
</content>
</entry>
<entry>
<title>add new socket options SO_INCOMING_CPU, SO_ATTACH_BPF, SO_DETACH_BPF</title>
<updated>2015-02-09T21:22:13+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2015-02-09T21:22:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=70572dce07a631e2f818b34f5679c57eeebc9779'/>
<id>70572dce07a631e2f818b34f5679c57eeebc9779</id>
<content type='text'>
these socket options are new in linux v3.19, introduced in commit
2c8c56e15df3d4c2af3d656e44feb18789f75837 and commit
89aa075832b0da4402acebd698d0411dcc82d03e

with SO_INCOMING_CPU the cpu can be queried on which a socket is
managed inside the kernel and optimize polling of large number of
sockets accordingly.

SO_ATTACH_BPF lets eBPF programs (created by the bpf syscall) to
be attached to sockets.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
these socket options are new in linux v3.19, introduced in commit
2c8c56e15df3d4c2af3d656e44feb18789f75837 and commit
89aa075832b0da4402acebd698d0411dcc82d03e

with SO_INCOMING_CPU the cpu can be queried on which a socket is
managed inside the kernel and optimize polling of large number of
sockets accordingly.

SO_ATTACH_BPF lets eBPF programs (created by the bpf syscall) to
be attached to sockets.
</pre>
</div>
</content>
</entry>
<entry>
<title>move MREMAP_MAYMOVE and MREMAP_FIXED out of bits</title>
<updated>2015-01-31T03:02:23+00:00</updated>
<author>
<name>Trutz Behn</name>
<email>me@trutz.be</email>
</author>
<published>2015-01-28T17:46:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=2d67ae923d11d766d9a6cea714fa487b52579f6a'/>
<id>2d67ae923d11d766d9a6cea714fa487b52579f6a</id>
<content type='text'>
the definitions are generic for all kernel archs. exposure of these
macros now only occurs on the same feature test as for the function
accepting them, which is believed to be more correct.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the definitions are generic for all kernel archs. exposure of these
macros now only occurs on the same feature test as for the function
accepting them, which is believed to be more correct.
</pre>
</div>
</content>
</entry>
<entry>
<title>add new prctl command PR_SET_MM_MAP to sys/prctl.h</title>
<updated>2014-12-23T06:46:22+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-12-16T01:37:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=11ac2a6e811ff0860c7d3b3daf035dc6748fb4d4'/>
<id>11ac2a6e811ff0860c7d3b3daf035dc6748fb4d4</id>
<content type='text'>
PR_SET_MM_MAP was introduced as a subcommand for PR_SET_MM in
linux v3.18 commit f606b77f1a9e362451aca8f81d8f36a3a112139e

the associated struct type is replicated in sys/prctl.h using
libc types.

example usage:

 struct prctl_mm_map *p;
 ...
 prctl(PR_SET_MM, PR_SET_MM_MAP, p, sizeof *p);

the kernel side supported struct size may be queried with
the PR_SET_MM_MAP_SIZE subcommand.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PR_SET_MM_MAP was introduced as a subcommand for PR_SET_MM in
linux v3.18 commit f606b77f1a9e362451aca8f81d8f36a3a112139e

the associated struct type is replicated in sys/prctl.h using
libc types.

example usage:

 struct prctl_mm_map *p;
 ...
 prctl(PR_SET_MM, PR_SET_MM_MAP, p, sizeof *p);

the kernel side supported struct size may be queried with
the PR_SET_MM_MAP_SIZE subcommand.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix macros for LFS *64_t types in sys/stat.h, sys/types.h, glob.h</title>
<updated>2014-09-05T20:03:07+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-09-05T19:43:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=7ff804269bb0594431308ad328239aeeb5ceb057'/>
<id>7ff804269bb0594431308ad328239aeeb5ceb057</id>
<content type='text'>
there is no blksize64_t (blksize_t is always long) but there are
fsblkcnt64_t and fsfilcnt64_t types in sys/stat.h and sys/types.h.
and glob.h missed glob64_t.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
there is no blksize64_t (blksize_t is always long) but there are
fsblkcnt64_t and fsfilcnt64_t types in sys/stat.h and sys/types.h.
and glob.h missed glob64_t.
</pre>
</div>
</content>
</entry>
<entry>
<title>add new PR_SET_THP_DISABLE and PR_GET_THP_DISABLE prctl flags</title>
<updated>2014-07-20T16:49:16+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-07-20T14:13:52+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=871a09c86ff3466196c3bfded84c5bbeb0b07f81'/>
<id>871a09c86ff3466196c3bfded84c5bbeb0b07f81</id>
<content type='text'>
they can be used to set or query if transparent huge pages are disabled.
introduced in linux 3.15 commit a0715cc22601e8830ace98366c0c2bd8da52af52
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
they can be used to set or query if transparent huge pages are disabled.
introduced in linux 3.15 commit a0715cc22601e8830ace98366c0c2bd8da52af52
</pre>
</div>
</content>
</entry>
<entry>
<title>implement sendmmsg and recvmmsg</title>
<updated>2014-06-20T03:01:15+00:00</updated>
<author>
<name>Rich Felker</name>
<email>dalias@aerifal.cx</email>
</author>
<published>2014-06-20T03:01:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=acb7e049b8c70b9e6ad57e8601373f9c991a0da4'/>
<id>acb7e049b8c70b9e6ad57e8601373f9c991a0da4</id>
<content type='text'>
these are not pure syscall wrappers because they have to work around
kernel API bugs on 64-bit archs. the workarounds could probably be
made somewhat more efficient, but at the cost of more complexity. this
may be revisited later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
these are not pure syscall wrappers because they have to work around
kernel API bugs on 64-bit archs. the workarounds could probably be
made somewhat more efficient, but at the cost of more complexity. this
may be revisited later.
</pre>
</div>
</content>
</entry>
<entry>
<title>fix POSIX namespace pollution in sys/types.h</title>
<updated>2014-05-30T17:06:51+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-05-30T15:57:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=5f4c4966934b913e9f8a54d60312f874a9d14088'/>
<id>5f4c4966934b913e9f8a54d60312f874a9d14088</id>
<content type='text'>
int8_t, u_int8_t, etc types are moved under _BSD_SOURCE
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
int8_t, u_int8_t, etc types are moved under _BSD_SOURCE
</pre>
</div>
</content>
</entry>
<entry>
<title>add SO_BPF_EXTENSIONS socket option</title>
<updated>2014-05-30T17:06:51+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-05-30T12:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=c8ea212668425c860c8af3d85aec223dec1f1395'/>
<id>c8ea212668425c860c8af3d85aec223dec1f1395</id>
<content type='text'>
this was introduced to query BPF extension support with getsockopt
in linux 3.14, commit ea02f9411d9faa3553ed09ce0ec9f00ceae9885e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this was introduced to query BPF extension support with getsockopt
in linux 3.14, commit ea02f9411d9faa3553ed09ce0ec9f00ceae9885e
</pre>
</div>
</content>
</entry>
<entry>
<title>fix RLIMIT_ constants for mips</title>
<updated>2014-04-15T23:17:52+00:00</updated>
<author>
<name>Szabolcs Nagy</name>
<email>nsz@port70.net</email>
</author>
<published>2014-04-14T15:42:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.musl-libc.org/cgit/musl/commit/?id=fcea534e579077e10456f6ed06c033dfaa013a24'/>
<id>fcea534e579077e10456f6ed06c033dfaa013a24</id>
<content type='text'>
The mips arch is special in that it uses different RLIMIT_
numbers than other archs, so allow bits/resource.h to override
the default RLIMIT_ numbers (empty on all archs except mips).
Reported by orc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mips arch is special in that it uses different RLIMIT_
numbers than other archs, so allow bits/resource.h to override
the default RLIMIT_ numbers (empty on all archs except mips).
Reported by orc.
</pre>
</div>
</content>
</entry>
</feed>
