Package: oss4 / 4.2-build2017-1

Metadata

Package Version Patches format
oss4 4.2-build2017-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
001_modules i386.patch | (download)

kernel/OS/Linux/os_linux.h | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

---
002_fix linux oss_native_word.patch | (download)

kernel/OS/Linux/wrapper/wrap.h | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 fix definition of oss_native_word for linux

On x86_64, unsigned long long and unsigned long have the same size,
but Linux requires status flag variables to have type unsigned long.
The current definition results in warning such as:

build/core/oss_core.c: In function 'oss_fp_check':
build/core/oss_core.c:1862:3: warning: comparison of distinct pointer types lacks a cast [enabled by default]


003_linux error logging fixes.patch | (download)

setup/Linux/oss/build/osscore.c | 25 3 + 22 - 0 !
1 file changed, 3 insertions(+), 22 deletions(-)

 linux error logging fixes

The Linux implementation of oss_cmn_err() uses a fixed-size temporary
buffer and does not protect against overflow.  Although this is not
obviously exploitable, it could well become exploitable in future.

The argument counting and copying is also unportable and generally
incorrect.

Therefore:
- If we are not going to edit the log line in any way, just call
  vprintk() and don't bother with the temporary buffer.
- If we need to edit the log line or call panic() instead of printk(),
  use vsnprintf() instead of printf().


100_dont_fail_when_not_build_kernel_module.patch | (download)

setup/Linux/build.sh | 1 0 + 1 - 0 !
1 file changed, 1 deletion(-)

---
101_use_env_CFLAGS.patch | (download)

lib/libOSSlib/Makefile | 2 1 + 1 - 0 !
lib/libsalsa/Makefile | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

---
102_use_system_txt2man.patch | (download)

setup/Linux/build.sh | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

---
103_kfreebsd gnu.patch | (download)

include/soundcard.h | 2 1 + 1 - 0 !
kernel/framework/audio/oss_audio_core.c | 2 1 + 1 - 0 !
kernel/framework/sndstat/oss_sndstat.c | 4 2 + 2 - 0 !
lib/libOSSlib/compile.sh | 2 1 + 1 - 0 !
setup/FreeBSD/build.sh | 6 3 + 3 - 0 !
setup/setupdir.sh | 6 6 + 0 - 0 !
setup/srcconf.c | 8 5 + 3 - 0 !
7 files changed, 19 insertions(+), 11 deletions(-)

---
110_ld as needed.patch | (download)

setup/srcconf.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 re-order gcc arguments to enable building with ld --as-needed.
201_arch_without_mregparm.patch | (download)

setup/srcconf_linux.inc | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

---
202_fix_invalid_printf.patch | (download)

setup/elflib.inc | 6 5 + 1 - 0 !
1 file changed, 5 insertions(+), 1 deletion(-)

---
203_hurd_no_EBADE.patch | (download)

lib/libsalsa/seq_output.c | 12 12 + 0 - 0 !
1 file changed, 12 insertions(+)

---
204_hurd_iot.patch | (download)

lib/libsalsa/local.h | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

---
205_gcc 4.6.patch | (download)

cmd/ossmixd/ossmixd.c | 2 1 + 1 - 0 !
cmd/ossphone/ossphone.c | 6 3 + 3 - 0 !
cmd/ossplay/ossplay_parser.c | 4 2 + 2 - 0 !
3 files changed, 6 insertions(+), 6 deletions(-)

---
301_libsalsa_fixes.patch | (download)

lib/libsalsa/local.h | 1 1 + 0 - 0 !
lib/libsalsa/seq.c | 2 1 + 1 - 0 !
lib/libsalsa/seq_output.c | 2 1 + 1 - 0 !
lib/libsalsa/timer.c | 2 1 + 1 - 0 !
4 files changed, 4 insertions(+), 3 deletions(-)

---
302_libsalsa_rename_to_liboss4 salsa.patch | (download)

lib/libsalsa/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
303_libsalsa_snd_asoundlib_version.patch | (download)

lib/libsalsa/misc.c | 10 10 + 0 - 0 !
1 file changed, 10 insertions(+)

---
401_cmd.patch | (download)

cmd/ossdevlinks/ossdevlinks.c | 6 3 + 3 - 0 !
cmd/ossdevlinks/ossdevlinks.man | 2 1 + 1 - 0 !
cmd/savemixer/savemixer.c | 18 9 + 9 - 0 !
cmd/savemixer/savemixer.man | 10 5 + 5 - 0 !
4 files changed, 18 insertions(+), 18 deletions(-)

---
402_os_cmd.patch | (download)

os_cmd/Linux/ossdetect/ossdetect.c | 29 22 + 7 - 0 !
os_cmd/Linux/ossdetect/ossdetect.man | 7 5 + 2 - 0 !
2 files changed, 27 insertions(+), 9 deletions(-)

---
502_linux_io.patch | (download)

kernel/OS/Linux/os_linux.h | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

---
reproducible build.patch | (download)

setup/setupdir.sh | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

---
503_glibc_2.28.patch | (download)

os_cmd/FreeBSD/ossdetect/ossdetect.c | 1 1 + 0 - 0 !
os_cmd/Linux/ossdetect/ossdetect.c | 1 1 + 0 - 0 !
2 files changed, 2 insertions(+)

---