<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/util-linux, branch 1_28_4</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=1_28_4</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=1_28_4'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2018-05-22T15:52:51+00:00</updated>
<entry>
<title>nsenter: fix parsing of -t, -S and -G options</title>
<updated>2018-05-22T15:52:51+00:00</updated>
<author>
<name>Euan Harris</name>
<email>euan.harris@docker.com</email>
</author>
<published>2018-05-04T15:18:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d591256a5cf9c744b9d95f7b0055dce8528a63ca'/>
<id>urn:sha1:d591256a5cf9c744b9d95f7b0055dce8528a63ca</id>
<content type='text'>
-t, -S and -G each take mandatory integer arguments.   getopt32long()'s
option string syntax for this type of argument is 'c:+', however nsenter's
opt_str uses 'c+', which specifies two options 'c' and '+' which do not
take arguments.   This means that giving a target PID causes nsenter to
exit and print the usage string:

  # nsenter -t1 sh
  nsenter: unrecognized option: 1
  BusyBox v1.27.2 (2017-12-12 10:41:50 GMT) multi-call binary.
  ...

The long form options are also broken:

  # nsenter --setuid=1000 --setgid=1000 sh
  BusyBox v1.29.0.git (2018-05-04 13:56:49 UTC) multi-call binary.
  ...

`nsenter --target=&lt;pid&gt; sh` parses correctly and appears to work, but
&lt;pid&gt; is ignored and set to 0.   This doesn't raise an error unless one
of the namespace arguments is also given:

  # ./busybox_unstripped nsenter --target=42 sh
  # exit

  # ./busybox_unstripped nsenter -n --target=42 sh
  BusyBox v1.29.0.git (2018-05-04 13:56:49 UTC) multi-call binary.
  ...

This has caused problems in a couple of places:

  https://github.com/linuxkit/linuxkit/issues/567
  https://github.com/gliderlabs/docker-alpine/issues/359
  https://github.com/kontena/pharos-cluster/pull/81

Signed-off-by: Euan Harris &lt;euan.harris@docker.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>nsenter: Rename --network option to --net</title>
<updated>2018-05-22T15:52:51+00:00</updated>
<author>
<name>Euan Harris</name>
<email>euan.harris@docker.com</email>
</author>
<published>2018-05-03T12:34:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=adb69765e52ad32608e3b56e0dd70a0510ab1b7c'/>
<id>urn:sha1:adb69765e52ad32608e3b56e0dd70a0510ab1b7c</id>
<content type='text'>
In nsenter from util-linux, the long version of the -n option is
--net=&lt;path&gt;.   BusyBox's version expects --network=&lt;path&gt;, so scripts
and examples written for util-linux's version cause BusyBox's version
to exit with the usage message.

Confusingly, until commit 036585a911a5f, the usage message erroneously
claimed that the long option was indeed called --net; after that commit
long options are not listed at all.

Signed-off-by: Euan Harris &lt;euan.harris@docker.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>umount: ignore -c</title>
<updated>2018-02-14T16:38:29+00:00</updated>
<author>
<name>Shawn Landden</name>
<email>slandden@gmail.com</email>
</author>
<published>2018-01-08T12:31:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4e71661e3aabd04ae5bf6078bbc38f4940a2349c'/>
<id>urn:sha1:4e71661e3aabd04ae5bf6078bbc38f4940a2349c</id>
<content type='text'>
"-c, --no-canonicalize: Do not canonicalize paths."

As busybox doesn't canonicalize paths in the first place it is safe to ignore
this option.

See https://github.com/systemd/systemd/issues/7786

Signed-off-by: Shawn Landden &lt;slandden@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>unshare: -r should map root to user, not the other way around</title>
<updated>2017-11-09T15:06:33+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-11-09T15:06:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=1b510900e24459353922a1bc83c0b58bc8bafe1c'/>
<id>urn:sha1:1b510900e24459353922a1bc83c0b58bc8bafe1c</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>unshare: -r implies -U, not -u</title>
<updated>2017-11-09T14:59:22+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-11-09T14:59:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b5a0d9d8673f8c84c0135fbc6227680ee874d261'/>
<id>urn:sha1:b5a0d9d8673f8c84c0135fbc6227680ee874d261</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Fix build failures if MAXHOSTNAMELEN or MAXPATHLEN is not defined</title>
<updated>2017-10-31T14:59:19+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-10-31T14:59:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f1fdda45423a0133094840c0367aef1b026635d5'/>
<id>urn:sha1:f1fdda45423a0133094840c0367aef1b026635d5</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>blkdiscard: Only build on Linux</title>
<updated>2017-10-30T13:55:01+00:00</updated>
<author>
<name>James Clarke</name>
<email>jrtc27@jrtc27.com</email>
</author>
<published>2017-10-07T17:53:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=160d027c2110d16ad9fb541cd966f73d971c074f'/>
<id>urn:sha1:160d027c2110d16ad9fb541cd966f73d971c074f</id>
<content type='text'>
Signed-off-by: James Clarke &lt;jrtc27@jrtc27.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>whitespace and comment format fixes, no code changes</title>
<updated>2017-10-05T13:33:28+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-10-05T13:33:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2ab9403119399ffda26f6ff83ec60ac257c29898'/>
<id>urn:sha1:2ab9403119399ffda26f6ff83ec60ac257c29898</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>whitespace and comment format fixes, no code changes</title>
<updated>2017-10-05T12:40:24+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-10-05T12:40:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ebe6d9d8758d36e03cf39b6587597c67ab778436'/>
<id>urn:sha1:ebe6d9d8758d36e03cf39b6587597c67ab778436</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>regularize format of source file headers, no code changes</title>
<updated>2017-09-18T14:28:43+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-09-18T14:28:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5'/>
<id>urn:sha1:0c4dbd481aedb5d22c1048e7f7eb547a3b5e50a5</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
