]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r292268, r334176
authorbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 31 May 2018 16:10:44 +0000 (16:10 +0000)
committerbrooks <brooks@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 31 May 2018 16:10:44 +0000 (16:10 +0000)
commitdecd9992044001d623fd41905900579c7939570f
tree9d08000580242f114344fbd0ac748e6c510088ce
parentbaf5ca9686b9f7e9b41592c710455b3d3d845875
MFC r292268, r334176

r292268:
Remove sys/types.h due to STANDARDS and unistd.h also includes
sys/types.h.

r334176:
Indicate the brk/sbrk are deprecated and not portable.

More firmly suggest mmap(2) instead.

Include the history of arm64 and riscv shipping without brk/sbrk.

Mention that sbrk(0) produces unreliable results.

Reviewed by: emaste, Marcin Cieślak
Sponsored by: DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D15535

git-svn-id: svn://svn.freebsd.org/base/stable/10@334440 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
lib/libc/sys/brk.2
lib/libc/sys/getgid.2
lib/libc/sys/getpid.2
lib/libc/sys/read.2
lib/libc/sys/write.2