<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libc/gen, branch releng/11.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F11.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2019-05-16T03:30:36Z</updated>
<entry>
<title>MFC r347032 (except for the part about d_off):</title>
<updated>2019-05-16T03:30:36Z</updated>
<author>
<name>Alan Somers</name>
<email>asomers@FreeBSD.org</email>
</author>
<published>2019-05-16T03:30:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a3751a6b832f774873381a3055d2cd079d99c948'/>
<id>urn:sha1:a3751a6b832f774873381a3055d2cd079d99c948</id>
<content type='text'>
directory.3: add a STANDARDS section

Reviewed by:	jilles, ngie
Sponsored by:	The FreeBSD Foundation
Differential Revision:	https://reviews.freebsd.org/D20111
</content>
</entry>
<entry>
<title>MFC r344085:</title>
<updated>2019-05-14T04:14:31Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2019-05-14T04:14:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8ab786d55b0de9a6ed358efa88dacf7e6a38a2e5'/>
<id>urn:sha1:8ab786d55b0de9a6ed358efa88dacf7e6a38a2e5</id>
<content type='text'>
Note that readpassphrase() came into FreeBSD's libc at 4.6.
</content>
</entry>
<entry>
<title>MFC r345703:</title>
<updated>2019-04-12T15:15:27Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2019-04-12T15:15:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=df1b1afc355eb43abd04ea3d7764fabf21f85575'/>
<id>urn:sha1:df1b1afc355eb43abd04ea3d7764fabf21f85575</id>
<content type='text'>
Fix initial exec TLS mode for dynamically loaded shared objects.
</content>
</entry>
<entry>
<title>MFC r345457:</title>
<updated>2019-04-03T03:30:57Z</updated>
<author>
<name>Ravi Pokala</name>
<email>rpokala@FreeBSD.org</email>
</author>
<published>2019-04-03T03:30:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cc3d694a276524e520497a1fe7d2e8662ed0be56'/>
<id>urn:sha1:cc3d694a276524e520497a1fe7d2e8662ed0be56</id>
<content type='text'>
Add descriptions for sysctls in kern_mib.c and sysctl.3 which lack them.

r343532 noted the difference between "hw.realmem" and "hw.physmem", which I
was previously unaware of. I discovered that neither sysctl had a
description visible via `sysctl -d', so I found where they were defined and
added suitable descriptions. While in the file, I went ahead and added
descriptions for all the others which lacked them. I also updated sysctl.3
accordingly.
</content>
</entry>
<entry>
<title>MFC r339502</title>
<updated>2018-11-30T19:58:55Z</updated>
<author>
<name>Mariusz Zaborski</name>
<email>oshogbo@FreeBSD.org</email>
</author>
<published>2018-11-30T19:58:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=da1505de063c96681ed4b9e34ab5306ad1586565'/>
<id>urn:sha1:da1505de063c96681ed4b9e34ab5306ad1586565</id>
<content type='text'>
  Add link to the setproctitle_fast function.
</content>
</entry>
<entry>
<title>MFC r337422:</title>
<updated>2018-08-21T01:17:28Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2018-08-21T01:17:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fa8a761e34ef959393d6aacb91218b2621a2e0b1'/>
<id>urn:sha1:fa8a761e34ef959393d6aacb91218b2621a2e0b1</id>
<content type='text'>
libc: fix cases of undefined behavior.

These were found by the Undefined Behavior GsoC project at NetBSD:

Avoid undefined behavior in ftok(3)

Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to prevent this.

ftok.c:56:10, left shift of 123456789 by 24 places cannot be represented
in type 'int'
ftok.c:56:10, left shift of 4160 by 24 places cannot be represented in
type 'int'

Avoid undefined behavior in an inet_addr.c

Do not change the signedness bit with a left shift operation.
Cast to unsigned integer to prevent this.

inet_addr.c:218:20, left shift of 131 by 24 places cannot be represented
in type 'int'

Detected with micro-UBSan in the user mode.

Obtained from:	NetBSD
</content>
</entry>
<entry>
<title>MFC r335939, r336088:</title>
<updated>2018-07-18T09:54:32Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-07-18T09:54:32Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=cf6215da13421d324617fec0379d0a858f9a74b3'/>
<id>urn:sha1:cf6215da13421d324617fec0379d0a858f9a74b3</id>
<content type='text'>
Add setproctitle_fast(3) for frequent callers.
</content>
</entry>
<entry>
<title>MFC r315733, r315737, r315740, r330054:</title>
<updated>2018-05-18T14:57:58Z</updated>
<author>
<name>Glen Barber</name>
<email>gjb@FreeBSD.org</email>
</author>
<published>2018-05-18T14:57:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6d678f231487ad6555cc4f20e1cf202908cd1541'/>
<id>urn:sha1:6d678f231487ad6555cc4f20e1cf202908cd1541</id>
<content type='text'>
 r315733 (imp):
  Impelemnt ttys onifexists in init.

  Implement a new init(8) option in /etc/ttys. If this option is present
  on the entry in /etc/ttys, the entry will be active if and only if it
  exists.  If the name starts with a '/', it will be considered an
  absolute path. If not, it will be a path relative to /dev.

  This allows one to turn off video console getty that aren't present
  (while running a getty on them even when they aren't the system
  console). Likewise with serial ports.

  It differs from onifconsole in only requiring the device exist rather
  than it be listed as one of the system consoles.

 r315737 (ngie):
  Unbreak world by adding sys/stat.h for stat(2)

 r315740 (imp):
  Simplify the code a little.

 r330054 (trasz):
  Improve missing tty handling in init(8).  This removes a check that did
  nothing - it was checking for ENXIO, which, with devfs, is no longer
  returned - and was badly placed anyway, and replaces it with similar
  one that works, and is done just before starting getty, instead of being
  done when rereading ttys(5).

  From the practical point of view, this makes init(8) handle disappearing
  terminals (eg /dev/ttyU*) gracefully, without unneccessary getty restarts
  and resulting error messages.

Reported by:	Bart Ender, Andre Albsmeier
PR:		228315
Blocks:		11.2-BETA2
Approved by:	re (marius)
Sponsored by:	The FreeBSD Foundation
</content>
</entry>
<entry>
<title>MFC r332317, r332439, r332442</title>
<updated>2018-05-14T23:12:30Z</updated>
<author>
<name>Oleksandr Tymoshenko</name>
<email>gonzo@FreeBSD.org</email>
</author>
<published>2018-05-14T23:12:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=94de7f96ec37e1922d7b20f020d4e5b86408503c'/>
<id>urn:sha1:94de7f96ec37e1922d7b20f020d4e5b86408503c</id>
<content type='text'>
Approved by:	re

r332317:
[man] Fix return type of BUS_ADD_CHILD(9)

Fix return type of BUS_ADD_CHILD(9) in SYNOPSYS section,
it should be device_t, not int

PR:		207389

r332439:
Fix quotes in the example code in syslog(3) BUGS section

mdoc treats verbatim quotes in .Dl as a string delimiter and does
not pass them to the rendered output. Use special char \*q to specify
double quote

PR:		216755

r332442:
Bump .Dd value (forgot to do this in r332439)
</content>
</entry>
<entry>
<title>MFC r320872:</title>
<updated>2018-03-29T19:32:25Z</updated>
<author>
<name>Konstantin Belousov</name>
<email>kib@FreeBSD.org</email>
</author>
<published>2018-03-29T19:32:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=953796152f92ca777aaa87109a9d7919cd2ee2e4'/>
<id>urn:sha1:953796152f92ca777aaa87109a9d7919cd2ee2e4</id>
<content type='text'>
Create libdl.so.1 as a filter for libc.so.7 which exports public dl*
functions.
</content>
</entry>
</feed>
