<feed xmlns='http://www.w3.org/2005/Atom'>
<title>util-linux/include, branch master</title>
<subtitle>[no description]</subtitle>
<id>https://git.osdyson.ru/port/util-linux/atom?h=master</id>
<link rel='self' href='https://git.osdyson.ru/port/util-linux/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/'/>
<updated>2014-02-12T11:12:53Z</updated>
<entry>
<title>Define missed macros</title>
<updated>2014-02-12T11:12:53Z</updated>
<author>
<name>Igor Pashev</name>
<email>pashev.igor@gmail.com</email>
</author>
<published>2014-02-12T09:59:34Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=25cd744af7218c33866dbdbd5ecf42fa142a1256'/>
<id>urn:sha1:25cd744af7218c33866dbdbd5ecf42fa142a1256</id>
<content type='text'>
OXTABS, TTYDEF_OFLAG, CDISCARD and others
</content>
</entry>
<entry>
<title>lib/color: add colorscheme parser</title>
<updated>2014-02-10T13:50:12Z</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2014-02-10T13:50:12Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=68f7b572bac36d4d1777e34e5b7a1107255b1e34'/>
<id>urn:sha1:68f7b572bac36d4d1777e34e5b7a1107255b1e34</id>
<content type='text'>
</content>
</entry>
<entry>
<title>losetup: wait for udev</title>
<updated>2014-01-24T12:58:40Z</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2014-01-24T12:58:40Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=663bf040611240d164f2464b4d892ecd2b02fa6f'/>
<id>urn:sha1:663bf040611240d164f2464b4d892ecd2b02fa6f</id>
<content type='text'>
On system with /dev/lop-control the udevd creates /dev/loopN nodes.
It seems better to wait a moment after unsuccessful open(/dev/loopN)
and try it to open again.

The problem is pretty visible on systems where udevd also modifies
permission for loopN devices, then open() fails with EACCES when
losetup executed by non-root user (but user who is in "disk" group).

Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1045432
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
</entry>
<entry>
<title>include/c.h: prefer nanosleep() over usleep()</title>
<updated>2014-01-24T12:04:14Z</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2014-01-24T12:04:14Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=a5bd7939961aaa6e39f3b298e556063cfd97d75a'/>
<id>urn:sha1:a5bd7939961aaa6e39f3b298e556063cfd97d75a</id>
<content type='text'>
Let's use nanosleep() although if usleep() exists. The nanosleep
function does no interact with signals and other timers.

The patch introduces xusleep() as replacement to libc (or our fallback)
usleep(). Yes, we don't want to use struct timespec + nanosleep()
everywhere in code as nano-time resolution is useless for us.

The patch also enlarges delays in some busy wait loops. It seems
enough to try read/write 4x per second.

Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
</entry>
<entry>
<title>unshare: Add possibility to add mapping into root user in user namespace</title>
<updated>2014-01-07T10:04:42Z</updated>
<author>
<name>Lubomir Rintel</name>
<email>lkundrak@v3.sk</email>
</author>
<published>2013-12-27T21:14:48Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=4da21e374e34350941d54f7b0fe33a06d92e9eaa'/>
<id>urn:sha1:4da21e374e34350941d54f7b0fe33a06d92e9eaa</id>
<content type='text'>
This makes it very convenient to use make use of privileged actions
on CONFIG_USER_NS enabled kernels, without having to manually tinker
with uid_map and gid_map to obtain required credentials (as those
given upon unshare() vanish with call to execve() and lot of userspace
checks for euid==0 anyway).

Usage example:

$ unshare --uts
unshare: unshare failed: Operation not permitted

$ unshare --user --uts
[nfsnobody@odvarok ~]$ hostname swag
hostname: you must be root to change the host name

$ unshare -r --uts
[root@odvarok util-linux]# hostname swag
[root@odvarok util-linux]#

[kzak@redhat.com: - move code to map_id()
                  - use all-io.h
                  - add paths to pathnames.h]

Signed-off-by: Lubomir Rintel &lt;lkundrak@v3.sk&gt;
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
</entry>
<entry>
<title>lib/path: add path_strdup()</title>
<updated>2014-01-06T15:48:13Z</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2014-01-06T15:48:13Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=dd3bc51a539ffdd5c6c6b7d0b20acd1f61bdd337'/>
<id>urn:sha1:dd3bc51a539ffdd5c6c6b7d0b20acd1f61bdd337</id>
<content type='text'>
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
</entry>
<entry>
<title>docs: update links to http://git.kernel.org/ web repository views</title>
<updated>2013-11-12T10:47:57Z</updated>
<author>
<name>Sami Kerola</name>
<email>kerolasa@iki.fi</email>
</author>
<published>2013-11-10T20:06:10Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=d8a9b907563ee1ee195d1d5afc2d624dba5f33d0'/>
<id>urn:sha1:d8a9b907563ee1ee195d1d5afc2d624dba5f33d0</id>
<content type='text'>
Signed-off-by: Sami Kerola &lt;kerolasa@iki.fi&gt;
</content>
</entry>
<entry>
<title>strutils: add skip_space() function</title>
<updated>2013-11-08T13:14:34Z</updated>
<author>
<name>Ondrej Oprala</name>
<email>ooprala@redhat.com</email>
</author>
<published>2013-09-23T13:39:34Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=675de3f5c190cc4fbdf3d05e2b86731a9772398e'/>
<id>urn:sha1:675de3f5c190cc4fbdf3d05e2b86731a9772398e</id>
<content type='text'>
[kzak@redhat.com: - add also skip_blank(),
                  - remove duplicate implementation from libmount]

Signed-off-by: Ondrej Oprala &lt;ooprala@redhat.com&gt;
Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
</entry>
<entry>
<title>include: Add missing includes</title>
<updated>2013-10-04T09:51:21Z</updated>
<author>
<name>Michael Forney</name>
<email>mforney@mforney.org</email>
</author>
<published>2013-10-03T09:39:17Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=00c505d9cfedc02752d64bd61cf83d293b061c8d'/>
<id>urn:sha1:00c505d9cfedc02752d64bd61cf83d293b061c8d</id>
<content type='text'>
sys/types.h: For u_char typedef
sys/params.h: For MAXNAMLEN
sys/ttydefaults.h: For various tty definitions (also add configure check)

Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
</entry>
<entry>
<title>nologin: add new command</title>
<updated>2013-09-30T11:36:26Z</updated>
<author>
<name>Karel Zak</name>
<email>kzak@redhat.com</email>
</author>
<published>2013-09-30T11:36:26Z</published>
<link rel='alternate' type='text/html' href='https://git.osdyson.ru/port/util-linux/commit/?id=88407b93212275759e8a54f5d43f4cf7da67fcdf'/>
<id>urn:sha1:88407b93212275759e8a54f5d43f4cf7da67fcdf</id>
<content type='text'>
Currently it's maintained as distro specific (or people use impolite
/bin/false way).

Signed-off-by: Karel Zak &lt;kzak@redhat.com&gt;
</content>
</entry>
</feed>
