• R/O
  • HTTP
  • SSH
  • HTTPS

linux-2.4.36: Liste der Commits

2.4.36-stable kernel tree


RSS
Rev. Zeit Autor
151c0de 2006-08-19 15:01:10 dann frazier

[PATCH] drivers/scsi/sg.c : fix CVE-2006-1528

Here is a 2.4 backport of Douglas Gilbert's 2.6 fix for
CVE-2006-1528.

(GIT: 1c8e71d72026ed4c6ba0fdfd7eebd865f4fd1415)

Signed-off-by: dann frazier <dannf@debian.org>

2efe3d6 2006-08-19 14:58:09 Willy Tarreau

[PATCH] powerpc: Clear HID0 attention enable on PPC970 at boot time

Clear HID0[en_attn] at CPU init time on PPC970. Closes CVE-2006-4093.
Back-ported from 2.6 after notification from Adrian Bunk and Greg KH.

Original 2.6 patch Signed-off-by: Olof Johansson <olof@lixom.net>
below :

http://kernel.org/git/?p=linux/kernel/git/stable/linux-2.6.17.y.git;a=commit;h=35a472de81cfdb37f3cfb49fde4987d99b81f996

c275c62 2006-08-17 05:57:35 Willy Tarreau

Change VERSION to 2.4.34-pre1

82c130f 2006-08-16 07:09:08 Willy Tarreau

[GCC4] SPARC: fix build error in drivers/fc4/soc.c

This patch fixes this error with gcc 4 on sparc :

soc.h: In function 'xram_copy_from':
soc.h:121: error: invalid lvalue in increment
soc.h: In function 'xram_copy_to':
soc.h:128: error: invalid lvalue in increment

9acf8f5 2006-08-16 06:09:10 Willy Tarreau

[GCC4] SPARC: fix build error in arch/sparc/kernel/time.c

This patch fixes this error with gcc 4 (encountered on sparc) :

time.c:49: error: static declaration of 'mstk48t08_regs' follows non-static declaration
/usr/src/linux-2.4.33-gcc4-sparc/include/asm/mostek.h:130: error: previous declaration of 'mstk48t08_regs' was here

fbd2575 2006-08-16 06:09:10 Willy Tarreau

[GCC4] SPARC: fix build error in arch/sparc/kernel/signal.c

This patch fixes this error with gcc 4 (encountered on sparc) :

signal.c: In function 'do_sys_sigstack':
signal.c:1339: error: invalid lvalue in assignment

f0cafbd 2006-08-16 04:31:53 Willy Tarreau

[GCC4] SPARC64: fix build error in drivers/sbus/char/pcikbd.c

This patch fixes this error with gcc 4 (encountered on sparc64) :

pcikbd.c:61: error: static declaration of 'pcikbd_iobase' follows non-static declaration
pcikbd.h:34: error: previous declaration of 'pcikbd_iobase' was here
pcikbd.c:62: error: static declaration of 'pcikbd_irq' follows non-static declaration
pcikbd.h:35: error: previous declaration of 'pcikbd_irq' was here

e39096a 2006-08-16 04:31:53 Willy Tarreau

[GCC4] SPARC64: fix build error in arch/sparc64/kernel/time.c

This patch fixes this error with gcc 4 (encountered on sparc64) :

time.c:50: error: static declaration of 'mstk48t08_regs' follows non-static declaration
/usr/src/linux-2.4.33-gcc4-u60/include/asm/mostek.h:137: error: previous declaration of 'mstk48t08_regs' was here
time.c:51: error: static declaration of 'mstk48t59_regs' follows non-static declaration
/usr/src/linux-2.4.33-gcc4-u60/include/asm/mostek.h:144: error: previous declaration of 'mstk48t59_regs' was here

98ac29a 2006-08-16 04:31:53 Willy Tarreau

[GCC4] SPARC64: fix build error in arch/sparc64/kernel/smp.c

This patch fixes this error with gcc 4 (encountered on sparc64) :

smp.c:50: error: static declaration of 'boot_cpu_id' follows non-static declaration
/usr/src/linux-2.4.33-gcc4-u60/include/asm/smp.h:63: error: previous declaration of 'boot_cpu_id' was here

c87baed 2006-08-14 18:31:25 Willy Tarreau

[GCC4] fix build error in drivers/net/rrunner.c

This patch fixes this error with gcc 4 (encountered on PPC) :

rrunner.c: In function 'rr_hippi_probe':
rrunner.c:237: error: 'regs' undeclared (first use in this function)
rrunner.c:237: error: (Each undeclared identifier is reported only once
rrunner.c:237: error: for each function it appears in.)

4ba4a01 2006-08-14 18:31:25 Willy Tarreau

[GCC4] fix build in drivers/atm/horizon.c

This patches fixes this error with gcc 4 (encountered on PPC) :

horizon.c:484: error: conflicting types for 'dump_regs'
/tmp/linux-2.4.33/include/asm/system.h:96: error: previous declaration of 'dump_regs' was here

5af1177 2006-08-14 00:19:30 Willy Tarreau

[GCC4] fix warnings in drivers/isdn/hisax/hisax.h

This patch fixes these warnings with gcc 4 :

hisax.h:403: warning: 'packed' attribute ignored for field of type 'u_char'
hisax.h:404: warning: 'packed' attribute ignored for field of type 'u_char'
hisax.h:405: warning: 'packed' attribute ignored for field of type 'u_char'
hisax.h:406: warning: 'packed' attribute ignored for field of type 'u_char'

3284d01 2006-08-14 00:19:30 Willy Tarreau

[GCC4] fix warnings in drivers/isdn/eicon/eicon*.h

This patch fixes these warnings with gcc 4 :

In file included from eicon_mod.c:34:
eicon.h:157: warning: 'packed' attribute ignored for field of type '__u8'
eicon.h:158: warning: 'packed' attribute ignored for field of type '__u8'
eicon.h:159: warning: 'packed' attribute ignored for field of type '__u8'
...
In file included from eicon.h:345,
from eicon_mod.c:34:
eicon_idi.h:61: warning: 'packed' attribute ignored for field of type '__u8'
eicon_idi.h:62: warning: 'packed' attribute ignored for field of type '__u8'
eicon_idi.h:63: warning: 'packed' attribute ignored for field of type '__u8'
...

47f28a1 2006-08-14 00:19:30 Willy Tarreau

[GCC4] fix warnings in drivers/net/de4x5,depca,arcnet

This patch fixes this warning with gcc 4 :

de4x5.c: In function 'mii_get_phy':
de4x5.c:5112: warning: operation on 'i' may be undefined
depca.c: In function 'load_packet':
depca.c:1749: warning: operation on 'i' may be undefined
arcnet.c: In function 'release_arcbuf':
arcnet.c:280: warning: operation on 'i' may be undefined
arcnet.c: In function 'get_arcbuf':
arcnet.c:313: warning: operation on 'i' may be undefined

ece2e89 2006-08-14 00:19:30 Willy Tarreau

[GCC4] fix warning in drivers/char/ip2/i2lib.c

This patch fixes this warning with gcc 4 :

In file included from ip2main.c:409:
./ip2/i2lib.c: In function 'i2RetryFlushOutput':
./ip2/i2lib.c:1265: warning: comparisons like X<=Y<=Z do not have their mathematical meaning

cc6d64c 2006-08-14 00:19:29 Willy Tarreau

[GCC4] fix warnings in drivers/char/sx.c

This patch fixes this warning with gcc 4 :

sx.c: In function 'sx_busy_wait_eq':
sx.c:525: warning: comparisons like X<=Y<=Z do not have their mathematical meaning
sx.c:531: warning: comparisons like X<=Y<=Z do not have their mathematical meaning
sx.c: In function 'sx_busy_wait_neq':
sx.c:551: warning: comparisons like X<=Y<=Z do not have their mathematical meaning
sx.c:557: warning: comparisons like X<=Y<=Z do not have their mathematical meaning

6bf603c 2006-08-14 00:19:29 Willy Tarreau

[GCC4] fix warnings in include/linux/wanpipe.h

This patch fixes these warnings with gcc 4 :

In file included from sdlamain.c:59:
/usr/src/git/linux-2.4/include/linux/wanpipe.h:230: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/wanpipe.h:231: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/wanpipe.h:235: warning: 'packed' attribute ignored for field of type 'unsigned char'
(...)

3b45b03 2006-08-14 00:19:29 Willy Tarreau

[GCC4] fix warnings in sdla_x25.c and sdla_x25.h

Removes most of these warnings with gcc 4 :

In file included from sdla_x25.c:107:
/usr/src/git/linux-2.4/include/linux/sdla_x25.h:59: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/sdla_x25.h:61: warning: 'packed' attribute ignored for field of type 'unsigned char'
(...)
/usr/src/git/linux-2.4/include/linux/sdla_chdlc.h:65: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/sdla_chdlc.h:67: warning: 'packed' attribute ignored for field of type 'unsigned char'
(...)
sdla_x25.c:321: warning: 'packed' attribute ignored for field of type 'char[15u]'
sdla_x25.c:322: warning: 'packed' attribute ignored for field of type 'char[15u]'
(...)

a92da3a 2006-08-14 00:19:29 Willy Tarreau

[GCC4] fix warnings in sdla.h and if_frad.h

This patch fixes these warnings with gcc 4 :

In file included from sdla.c:61:
/usr/src/git/linux-2.4/include/linux/if_frad.h:134: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/if_frad.h:137: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/if_frad.h:139: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/linux/if_frad.h:140: warning: 'packed' attribute ignored for field of type 'unsigned char[2u]'
In file included from sdla.c:63:
/usr/src/git/linux-2.4/include/linux/sdla.h:296: warning: 'packed' attribute ignored for field of type 'char'
/usr/src/git/linux-2.4/include/linux/sdla.h:297: warning: 'packed' attribute ignored for field of type 'char'
/usr/src/git/linux-2.4/include/linux/sdla.h:299: warning: 'packed' attribute ignored for field of type 'char'
/usr/src/git/linux-2.4/include/linux/sdla.h:301: warning: 'packed' attribute ignored for field of type 'char'
(...)

18612ad 2006-08-14 00:19:28 Willy Tarreau

[GCC4] fix warnings in include/net/dn_nsp.h

This patch fixes these warnings with gcc 4 :

In file included from dn_route.c:81:
/usr/src/git/linux-2.4/include/net/dn_nsp.h:75: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/net/dn_nsp.h:97: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/net/dn_nsp.h:106: warning: 'packed' attribute ignored for field of type 'unsigned char'
(...)

ccaca03 2006-08-14 00:19:28 Willy Tarreau

[GCC4] fix warnings in include/net/dn_dev.h

This patch fixes these warnings with gcc 4 :

In file included from dn_neigh.c:44:
/usr/src/git/linux-2.4/include/net/dn_dev.h:102: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/net/dn_dev.h:105: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/net/dn_dev.h:110: warning: 'packed' attribute ignored for field of type 'unsigned char'
/usr/src/git/linux-2.4/include/net/dn_dev.h:111: warning: 'packed' attribute ignored for field of type 'unsigned char'

0de0450 2006-08-14 00:19:28 Willy Tarreau

[GCC4] fix warnings in include/linux/isdnif.h

This patch fixes these warnings with gcc 4 :

In file included from /usr/src/git/linux-2.4/include/linux/isdn.h:211,
from isdn_ppp.c:13:
/usr/src/git/linux-2.4/include/linux/isdnif.h:285: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/git/linux-2.4/include/linux/isdnif.h:286: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/git/linux-2.4/include/linux/isdnif.h:287: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/git/linux-2.4/include/linux/isdnif.h:288: warning: 'packed' attribute ignored for field of type '__u8'
...
/usr/src/git/linux-2.4/include/linux/isdnif.h:319: warning: 'packed' attribute ignored for field of type '__u8[20u]'
/usr/src/git/linux-2.4/include/linux/isdnif.h:320: warning: 'packed' attribute ignored for field of type '__u8'

b88cafc 2006-08-14 00:19:28 Willy Tarreau

[GCC4] fix warning in include/linux/atalk.h

This patch fixes this warning with gcc 4 :

In file included from /usr/src/git/linux-2.4/include/net/sock.h:90,
from /usr/src/git/linux-2.4/include/net/ip.h:39,
from /usr/src/git/linux-2.4/include/net/checksum.h:31,
from /usr/src/git/linux-2.4/include/linux/raid/md.h:35,
from check.c:21:

/usr/src/git/linux-2.4/include/linux/atalk.h:140: warning: 'packed' attribute ignored for field of type '__u8[5u]'
/usr/src/git/linux-2.4/include/linux/atalk.h:141: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/git/linux-2.4/include/linux/atalk.h:143: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/git/linux-2.4/include/linux/atalk.h:144: warning: 'packed' attribute ignored for field of type '__u8[5u]'
/usr/src/git/linux-2.4/include/linux/atalk.h:145: warning: 'packed' attribute ignored for field of type '__u8'
/usr/src/git/linux-2.4/include/linux/atalk.h:147: warning: 'packed' attribute ignored for field of type '__u8'

e43178a 2006-08-14 00:19:27 Willy Tarreau

[GCC4] fix build error in drivers/sound/wavfront.c

This patch fixes this error with gcc 4 :

wavfront.c:2490: error: static declaration of 'errno' follows non-static declaration
/usr/src/git/linux-2.4/include/linux/unistd.h:4: error: previous declaration of 'errno' was here

The solution is to workaround errno the same way as in sound_firmware :

3f8c5af 2006-08-14 00:19:27 Willy Tarreau

[GCC4] fix build error in drivers/media/video/bttvp.h

This patch fixes this error with gcc 4 :

In file included from bttv-driver.c:49:
bttvp.h:61: error: array type has incomplete element type

d02eb81 2006-08-14 00:19:27 Willy Tarreau

[GCC4] fix build error in drivers/ieee1394/highlevel.c

This patch fixes these errors with gcc 4 :

highlevel.c: In function 'highlevel_read':
highlevel.c:503: error: invalid lvalue in assignment
highlevel.c: In function 'highlevel_write':
highlevel.c:549: error: invalid lvalue in assignment

bbaf1ca 2006-08-14 00:19:26 Willy Tarreau

[GCC4] fix build error in drivers/usb/audio.c

This patch fixes this error with gcc 4 :

audio.c:466: error: static declaration of 'abs' follows non-static declaration
make[2]: *** [audio.o] Error 1
make[2]: Leaving directory `/usr/src/git/linux-2.4/drivers/usb'
make[1]: *** [_modsubdir_usb] Error 2
make[1]: Leaving directory `/usr/src/git/linux-2.4/drivers'
make: *** [_mod_drivers] Error 2

3682f3f 2006-08-14 00:19:26 Willy Tarreau

[GCC4] fix build error in drivers/media/video/videodev.c

This patch fixes this error :
videodev.c:636: error: static declaration of 'video_fops' follows non-static declaration
videodev.c:492: error: previous declaration of 'video_fops' was here
make[4]: *** [videodev.o] Error 1
make[4]: Leaving directory `/usr/src/git/linux-2.4/drivers/media/video'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/git/linux-2.4/drivers/media/video'
make[2]: *** [_subdir_video] Error 2
make[2]: Leaving directory `/usr/src/git/linux-2.4/drivers/media'
make[1]: *** [_subdir_media] Error 2
make[1]: Leaving directory `/usr/src/git/linux-2.4/drivers'
make: *** [_dir_drivers] Error 2

2de726a 2006-08-14 00:19:26 Willy Tarreau

[GCC4] fix build error in drivers/i2c/i2c-proc.c

This patch fixes this error with gcc 4 :

i2c-proc.c: In function 'i2c_deregister_entry':
i2c-proc.c:208: error: invalid lvalue in assignment
i2c-proc.c: In function 'i2c_proc_chips':
i2c-proc.c:290: error: invalid lvalue in assignment
i2c-proc.c: In function 'i2c_sysctl_chips':
i2c-proc.c:322: error: invalid lvalue in assignment
i2c-proc.c: In function 'i2c_parse_reals':
i2c-proc.c:476: error: invalid lvalue in increment
i2c-proc.c:495: error: invalid lvalue in increment
i2c-proc.c:506: error: invalid lvalue in increment
i2c-proc.c:520: error: invalid lvalue in increment
i2c-proc.c:529: error: invalid lvalue in increment
i2c-proc.c:545: error: invalid lvalue in increment
i2c-proc.c: In function 'i2c_write_reals':
i2c-proc.c:577: error: invalid lvalue in increment
i2c-proc.c:618: error: invalid lvalue in assignment

4a915df 2006-08-14 00:19:26 Willy Tarreau

[GCC4] fix build error in drivers/i2c/i2c-core.c

This patch fixes this error :
In file included from i2c-core.c:32:
/usr/src/git/linux-2.4/include/linux/i2c.h:73: error: array type has incomplete element type
/usr/src/git/linux-2.4/include/linux/i2c.h:200: error: array type has incomplete element type
i2c-core.c: In function 'i2c_transfer':
i2c-core.c:732: error: type of formal parameter 2 is incomplete
i2c-core.c: In function 'i2c_master_send':
i2c-core.c:753: error: invalid lvalue in assignment
i2c-core.c:759: error: type of formal parameter 2 is incomplete
i2c-core.c: In function 'i2c_master_recv':
i2c-core.c:789: error: type of formal parameter 2 is incomplete

Show on old repository browser