=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/etc/rc,v retrieving revision 1.564 retrieving revision 1.565 diff -c -r1.564 -r1.565 *** src/etc/rc 2022/08/29 11:51:05 1.564 --- src/etc/rc 2022/11/28 14:56:31 1.565 *************** *** 1,4 **** ! # $OpenBSD: rc,v 1.564 2022/08/29 11:51:05 deraadt Exp $ # System startup script run by init on autoboot or after single-user. # Output and error are redirected to console by init, and the console is the --- 1,4 ---- ! # $OpenBSD: rc,v 1.565 2022/11/28 14:56:31 cheloha Exp $ # System startup script run by init on autoboot or after single-user. # Output and error are redirected to console by init, and the console is the *************** *** 193,199 **** # Remount the (read-only) filesystems in _ro_list as read-write. for _mp in $_ro_list; do if ! mount -u -w $_mp; then ! echo ' failed.' return fi done --- 193,199 ---- # Remount the (read-only) filesystems in _ro_list as read-write. for _mp in $_ro_list; do if ! mount -u -w $_mp; then ! echo '(failed).' return fi done *************** *** 215,220 **** --- 215,221 ---- cd $_tmpdir ar x $_liba if [[ $_lib == ld.so ]]; then + echo -n " $_lib" args="-g -x -e _dl_start \ --version-script=Symbols.map --shared -Bsymbolic \ --no-undefined" *************** *** 225,230 **** --- 226,232 ---- $_install /usr/libexec/ld.so /usr/libexec/ld.so.save $_install ld.so.test $_lib_dir/ld.so else + echo -n " ${_lib%%.*}" cc -shared -o $_lib $(ls *.so | sort -R) $(<.ldadd) [[ -s $_lib ]] && file $_lib | fgrep -q 'shared object' LD_BIND_NOW=1 LD_LIBRARY_PATH=$_tmpdir awk 'BEGIN {exit 0}' *************** *** 243,251 **** done if $_error; then ! echo ' failed.' else ! echo ' done.' fi } --- 245,253 ---- done if $_error; then ! echo '(failed).' else ! echo '.' fi }