<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell/cttyhack.c, branch long_paths</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=long_paths</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=long_paths'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2023-07-10T15:25:21+00:00</updated>
<entry>
<title>Update applet size estimates</title>
<updated>2023-07-10T15:25:21+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-07-10T15:25:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5353df91cba7b397b9407701681708d0a1518df6'/>
<id>urn:sha1:5353df91cba7b397b9407701681708d0a1518df6</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>config: update size information</title>
<updated>2018-12-28T02:20:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2018-12-28T02:20:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=b097a84d62dcfcf201a695b54bcfafae70cac8a6'/>
<id>urn:sha1:b097a84d62dcfcf201a695b54bcfafae70cac8a6</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>
<entry>
<title>make 17 state-changing execing applets (ex: "nice PROG ARGS") noexec</title>
<updated>2017-08-04T17:55:01+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-08-04T17:55:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=5c527dc57e74c1b60c910dc1a3f3ec9683fca43d'/>
<id>urn:sha1:5c527dc57e74c1b60c910dc1a3f3ec9683fca43d</id>
<content type='text'>
The applets with "&lt;applet&gt; [opts] PROG ARGS" API very quickly exec
another program, noexec is okay for them:

 chpst/envdir/envuidgid/softlimit/setuidgid
 chroot
 chrt
 ionice
 nice
 nohup
 setarch/linux32/linux64
 taskset
 cttyhack

"reset" and "sulogin" applets don't have this form, but also exec
another program at once, thus made noexec too.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>config: deindent all help texts</title>
<updated>2017-07-21T07:50:55+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-07-21T07:50:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=72089cf6b4a77214ec4fd21d5ee5bf56958781cb'/>
<id>urn:sha1:72089cf6b4a77214ec4fd21d5ee5bf56958781cb</id>
<content type='text'>
Those two spaces after tab have no effect, and always a nuisance when editing.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>Update menuconfig items with approximate applet sizes</title>
<updated>2017-07-18T20:01:24+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-07-18T20:01:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4eed2c6c5092ed95b8ee6d994106c54a9fc6ed3e'/>
<id>urn:sha1:4eed2c6c5092ed95b8ee6d994106c54a9fc6ed3e</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>cttyhack: handle multiple consoles found in sysfs</title>
<updated>2012-02-04T20:55:01+00:00</updated>
<author>
<name>Aaro Koskinen</name>
<email>aaro.koskinen@iki.fi</email>
</author>
<published>2012-02-04T20:55:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6e9d047c1558f92531ea12b9e3206023ab77cf51'/>
<id>urn:sha1:6e9d047c1558f92531ea12b9e3206023ab77cf51</id>
<content type='text'>
If multiple consoles are found from the sysfs file, cttyhack fails:

cttyhack: can't open '/dev/tty0 ttyS0': No such file or directory

In such cases take the last one as the kernel will use that one for
/dev/console.

Signed-off-by: Aaro Koskinen &lt;aaro.koskinen@iki.fi&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>cttyhack: move /sys/class/tty/console/active check to the front</title>
<updated>2011-10-31T15:57:04+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-10-31T15:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=f8a5b792ba3cb0d11531902a04600fc274dff69e'/>
<id>urn:sha1:f8a5b792ba3cb0d11531902a04600fc274dff69e</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>cttyhack: print detected ctty name when called without parameters</title>
<updated>2011-10-31T12:18:44+00:00</updated>
<author>
<name>Alexander Shishkin</name>
<email>virtuoso@slind.org</email>
</author>
<published>2011-10-31T12:18:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=156840c249ddf761d9e60b06ca6d8aaa1bf88402'/>
<id>urn:sha1:156840c249ddf761d9e60b06ca6d8aaa1bf88402</id>
<content type='text'>
Sometimes there's a need to figure out the controlling tty from a shell
script, for example, to obtain a line for getty. In this case it's easier
to call cttyhack than trying to repeat some of the cttyhack's logic.

function                                             old     new   delta
cttyhack_main                                        283     327     +44
packed_usage                                       28911   28915      +4

Signed-off-by: Alexander Shishkin &lt;virtuoso@slind.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>cttyhack: trivial spelling/spacing fixes</title>
<updated>2011-08-16T21:31:03+00:00</updated>
<author>
<name>Kevin Cernekee</name>
<email>cernekee@gmail.com</email>
</author>
<published>2011-08-14T20:35:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=4619802a5f399119345ca339886b7b060f2c15aa'/>
<id>urn:sha1:4619802a5f399119345ca339886b7b060f2c15aa</id>
<content type='text'>
Signed-off-by: Kevin Cernekee &lt;cernekee@gmail.com&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
