1 diff -uNr yaboot-1.3.6.orig/man.patch yaboot-1.3.6/man.patch
2 --- yaboot-1.3.6.orig/man.patch Wed Nov 21 14:19:21 2001
3 +++ yaboot-1.3.6/man.patch Tue Mar 19 03:03:23 2002
5 The Debian mktemp is derived from OpenBSD and thus should be secure.
7 -\fI/usr/local/lib/yaboot/ofboot\fR now contains code executed by /bin/sh (by
8 -+\fI/usr/lib/yaboot/ofboot\fR now contains code executed by /bin/sh (by
9 ++\fI/usr/lib/yaboot/ofboot\fR now contains code executed by /bin/bash (by
10 \fBmkofboot\fR) it is thus critical that it not be writable by anyone
11 but root. It is also critical that \fI/etc/yaboot.conf\fR not be
12 writable by anyone but root since a different \fIofboot\fR script could be
14 The Debian mktemp is derived from OpenBSD and thus should be secure.
16 -\fI/usr/local/lib/yaboot/ofboot\fR now contains code executed by /bin/sh (by
17 -+\fI/usr/lib/yaboot/ofboot\fR now contains code executed by /bin/sh (by
18 ++\fI/usr/lib/yaboot/ofboot\fR now contains code executed by /bin/bash (by
19 \fBybin\fR). It is thus critical that it not be writable by anyone but
20 root. It is also critical that \fI/etc/yaboot.conf\fR not be writable
21 by anyone but root since a different \fIofboot\fR script could be
22 diff -uNr yaboot-1.3.6.orig/ybin/ofpath yaboot-1.3.6/ybin/ofpath
23 --- yaboot-1.3.6.orig/ybin/ofpath Thu Sep 20 15:15:32 2001
24 +++ yaboot-1.3.6/ybin/ofpath Tue Mar 19 03:01:31 2002
29 ###############################################################################
31 diff -uNr yaboot-1.3.6.orig/ybin/yabootconfig yaboot-1.3.6/ybin/yabootconfig
32 --- yaboot-1.3.6.orig/ybin/yabootconfig Wed Nov 21 13:55:37 2001
33 +++ yaboot-1.3.6/ybin/yabootconfig Tue Mar 19 03:01:42 2002
38 ###############################################################################
40 diff -uNr yaboot-1.3.6.orig/ybin/ybin yaboot-1.3.6/ybin/ybin
41 --- yaboot-1.3.6.orig/ybin/ybin Sat Dec 1 10:58:11 2001
42 +++ yaboot-1.3.6/ybin/ybin Tue Mar 19 03:02:02 2002
47 ###############################################################################
52 ## Usage: OS-count defaultos timeout fgc bgc osname oslabel oskey osdev osfile ...
53 - [ "$DEBUG" = 1 ] && $PRINTF 1>&2 "$PRG: DEBUG: /bin/sh $magicboot $OS $defaultos $delay $fbc $bgc $YB $BSD $MAC $MX $DW $CD $NET $OF\n"
54 - FIRST="$(/bin/sh "$magicboot" "$OS" "$defaultos" "$delay" $fgc $bgc ${YB} ${BSD} ${MAC} ${MX} ${DW} ${CD} ${NET} ${OF})" || return 1
55 + [ "$DEBUG" = 1 ] && $PRINTF 1>&2 "$PRG: DEBUG: /bin/bash $magicboot $OS $defaultos $delay $fbc $bgc $YB $BSD $MAC $MX $DW $CD $NET $OF\n"
56 + FIRST="$(/bin/bash "$magicboot" "$OS" "$defaultos" "$delay" $fgc $bgc ${YB} ${BSD} ${MAC} ${MX} ${DW} ${CD} ${NET} ${OF})" || return 1