[odc] Daily src changes for 2003-01-17
ODC
auto at squish.net
Sat Jan 18 07:00:21 GMT 2003
OpenBSD src changes summary for 2003-01-17
==========================================
games/fortune gnu/usr.bin/binutils
libexec/ld.so regress/sbin
sbin/ncheck_ffs sbin/pfctl
share/man sys/arch/i386/stand/libsa
sys/arch/sparc64/conf sys/dev/pci
sys/net sys/scsi
usr.sbin/afs usr.sbin/dhcp
== games ============================================================= 01/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/games
fortune
~ datfiles/fortunes ~ datfiles/fortunes2-o
> Typos, two from Michael Knudsen <e at molioner.dk>
> ok pjanzen (camield@)
== gnu =============================================================== 02/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/gnu
usr.bin/binutils
~ bfd/elf.c
> Update comment for linker change which just committed. (drahn@)
~ bfd/elf.c ~ ld/genscripts.sh
~ ld/ld.h ~ ld/ldmain.c
~ ld/lexsup.c ~ ld/emulparams/elf32_sparc.sh
~ ld/emulparams/elf32ppc.sh ~ ld/emulparams/elf64_sparc.sh
~ ld/emulparams/elf64alpha.sh ~ ld/emulparams/elf_i386.sh
~ ld/scripttempl/elf.sc
> This is a project to modify executables so that they do not have any
> executable regions which are writable. If a section of an executable is
> writable and executable, it is much easier for errant code to modify the
> executable's behavior.
> Two current areas in shared library environments which have this
> critical problem are the GOT (Global Offset Table) and PLT (Procedure
> Linkage Table). The PLT is required to be executable and both GOT and
> PLT are writable on most architectures. On most ELF architecture
> machines this would cause shared libraries to have data and BSS marked
> as executable.
> Padding to the linker script for programs and shared libraries/objects
> to isolate the GOT and PLT into their own load sections in the
> executables. This allows only the text(readonly) region and the PLT
> region to be marked executable with the normal data and BSS not marked
> as executable. The PLT region is still marked executable on most
> architectures because the PLT lives in the "data" or "BSS" regions
> and the dynamic loader will need to modify it. Since the GOT and PLT
> should only ever be written by the dynamic linker, it will be modified
> to mprotect those regions so that they are not writable during normal
> execution. If the dynamic linker needs to modify the regions later,
> (eg for lazy binding), it will mprotect the region, make the necessary
> changes, and mprotect it back. Since it is possible to receive a
> signal which would interrupt the program flow and perhaps cause the
> dynamic linker to modify the same (or nearby) PLT references, it is now
> necessary for signals to be blocked for the duration of the mprotect.
> (drahn@)
== libexec =========================================================== 03/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
ld.so
~ alpha/ldasm.S ~ alpha/rtld_machine.c
> Change the GOT initialization so that it is done in a function which
> initialized just the correct addresses instead of assuming that the GOT
> extends from _GLOBAL_OFFSET_TABLE_ to _DYNAMIC. Mostly from NetBSD.
> ok nate@ (drahn@)
== regress =========================================================== 04/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/regress
sbin
~ pfctl/pfr.exec ~ pfctl/pfr3.ok
~ pfctl/pfr4.ok ~ pfctl/pfr5.ok
~ pfctl/pfr6.ok
> Make table tests less sensitive to environmental conditions.
> ok dhartmei@ (cedric@)
== sbin ============================================================== 05/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
ncheck_ffs
~ ncheck_ffs.c
> Don't report setugid directories in "ncheck -s" output since those
> bits have no meaning on OpenBSD. deraadt@ OK (millert@)
~ ncheck_ffs.8 ~ ncheck_ffs.c
> Add a new option, -f, that allows the user to specify a custom output
> format. Currently only supports printing the inode number and path
> (along with any arbitrary text) but other escapes may be added later.
> A useful invocation is:
> ncheck -s -f '\P\0' | xargs -0 ls -ldgT
> deraadt@ OK (millert@)
pfctl
~ parse.y
> bandwith -> bandwidth
> YYERROR on failed parseicmpspec()
> ok dhartmei mcbride henning (camield@)
~ pfctl_parser.c
> KNF (markus@)
== share ============================================================= 06/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man5/bsd.port.mk.5 ~ man5/elf.5
~ man5/fbtab.5
> more; jmc at prioris.mini.pw.edu.pleraadt@)
~ man5/bsd.port.mk.5 ~ man5/elf.5
> Improve wording a bit; elf(5) was obviously written by a non-native
> speaker of English and needs more help. (millert@)
== sys =============================================================== 07/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/i386/stand/libsa
~ bioscons.c
> allow setting com baudrate up to 115200; req and testing by Sourabh Ladha
> <ladha at mail.eecis.udel.edumickey@)
arch/sparc64/conf
~ Makefile.sparc64
> Build sparc64 kernels with the same options as other architectures.
> Doesn't change how the kernel layout occurs, and is required for upcoming
> binutils/ld change. (drahn@)
dev/pci
~ pciide.c
> 80-pin -> 80-wire in debug output; requested by chris@ (grange@)
~ pcidevs
> typo (deraadt@)
~ pcidevs.h ~ pcidevs_data.h
> sync (deraadt@)
net
~ route.h
> typo: bandwith -> bandwidth (camield@)
scsi
~ cd.c
> The end of the track is one frame before the first frame of the next track
> (and right before the leadout track in the case of the last track). Some
> CDROM's are evidentally picky about being asked to play the first frame
> of the leadout. (jason@)
== usr.sbin ========================================================== 08/08 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
afs
~ src/arlad/DynRootDB.5 ~ src/arlad/SuidCells.5
> more; jmc at prioris.mini.pw.edu.pleraadt@)
dhcp
~ common/dhcp-options.5 ~ dhclient/dhclient-script.8
~ server/dhcpd.8 ~ server/dhcpd.conf.5
~ server/dhcpd.leases.5
> seperate[d][ly] -> separate[d][ly]; alan at alanday.comeraadt@)
===============================================================================
More information about the odc
mailing list