Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35319
b: refs/heads/master
c: 4291130
h: refs/heads/master
i:
  35317: 6391ef3
  35315: 62e0450
  35311: 8c62dd0
v: v3
  • Loading branch information
Jeff Garzik committed Sep 13, 2006
1 parent b04c63d commit a17298c
Show file tree
Hide file tree
Showing 56 changed files with 353 additions and 150 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d3148ce9a65813a8020473739c200cb63036f84c
refs/heads/master: 4291130595065aa3c9fbb9130231f65e4914629a
2 changes: 1 addition & 1 deletion trunk/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 18
EXTRAVERSION = -rc6
EXTRAVERSION = -rc7
NAME=Crazed Snow-Weasel

# *DOCUMENTATION*
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/i386/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ obj-$(CONFIG_VM86) += vm86.o
obj-$(CONFIG_EARLY_PRINTK) += early_printk.o
obj-$(CONFIG_HPET_TIMER) += hpet.o
obj-$(CONFIG_K8_NB) += k8.o
obj-$(CONFIG_AUDIT) += audit.o

EXTRA_AFLAGS := -traditional

Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/ia64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,10 @@ config DMA_IS_NORMAL
depends on IA64_SGI_SN2
default y

config AUDIT_ARCH
bool
default y

choice
prompt "System type"
default IA64_GENERIC
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/powerpc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ config GENERIC_TBSYNC
default y if PPC32 && SMP
default n

config AUDIT_ARCH
bool
default y

config DEFAULT_UIMAGE
bool
help
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/s390/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@ config SYSVIPC_COMPAT
depends on COMPAT && SYSVIPC
default y

config AUDIT_ARCH
bool
default y

comment "Code generation options"

choice
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh64/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ LDFLAGS += -EB -mshelf32_linux
endif

# No requirements for endianess support from AFLAGS, 'as' always run through gcc
AFLAGS += -m5 -isa=sh64 -traditional
CFLAGS += $(cpu-y)

LDFLAGS_vmlinux += --defsym phys_stext=_stext-$(CONFIG_CACHED_MEMORY_OFFSET) \
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/sh64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,9 @@ void machine_power_off(void)
enter_deep_standby();
}

void (*pm_power_off)(void) = machine_power_off;
EXPORT_SYMBOL(pm_power_off);

void show_regs(struct pt_regs * regs)
{
unsigned long long ah, al, bh, bl, ch, cl;
Expand Down
6 changes: 4 additions & 2 deletions trunk/arch/sh64/mach-cayman/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,10 @@ struct resource io_resources[] = {
};

struct resource kram_resources[] = {
{ "Kernel code", 0, 0 }, /* These must be last in the array */
{ "Kernel data", 0, 0 } /* These must be last in the array */
/* These must be last in the array */
{ .name = "Kernel code", .start = 0, .end = 0 },
/* These must be last in the array */
{ .name = "Kernel data", .start = 0, .end = 0 }
};

struct resource xram_resources[] = {
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/sh64/mm/ioremap.c
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,9 @@ ioremap_proc_info(char *buf, char **start, off_t fpos, int length, int *eof,
if (p + 32 >= e) /* Better than nothing */
break;
if ((nm = r->name) == 0) nm = "???";
p += sprintf(p, "%08lx-%08lx: %s\n", r->start, r->end, nm);
p += sprintf(p, "%08lx-%08lx: %s\n",
(unsigned long)r->start,
(unsigned long)r->end, nm);
}

return p-buf;
Expand Down
4 changes: 4 additions & 0 deletions trunk/arch/sparc64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ config ARCH_MAY_HAVE_PC_FDC
bool
default y

config AUDIT_ARCH
bool
default y

choice
prompt "Kernel page size"
default SPARC64_PAGE_SIZE_8KB
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/sparc64/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ obj-$(CONFIG_MODULES) += module.o
obj-$(CONFIG_US3_FREQ) += us3_cpufreq.o
obj-$(CONFIG_US2E_FREQ) += us2e_cpufreq.o
obj-$(CONFIG_KPROBES) += kprobes.o
obj-$(CONFIG_AUDIT) += audit.o
obj-$(CONFIG_AUDIT)$(CONFIG_SPARC32_COMPAT) += compat_audit.o
obj-y += $(obj-yy)

ifdef CONFIG_SUNOS_EMUL
obj-y += sys_sunos32.o sunos_ioctl32.o
Expand Down
66 changes: 66 additions & 0 deletions trunk/arch/sparc64/kernel/audit.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
#include <linux/init.h>
#include <linux/types.h>
#include <linux/audit.h>
#include <asm/unistd.h>

static unsigned dir_class[] = {
#include <asm-generic/audit_dir_write.h>
~0U
};

static unsigned read_class[] = {
#include <asm-generic/audit_read.h>
~0U
};

static unsigned write_class[] = {
#include <asm-generic/audit_write.h>
~0U
};

static unsigned chattr_class[] = {
#include <asm-generic/audit_change_attr.h>
~0U
};

int audit_classify_syscall(int abi, unsigned syscall)
{
#ifdef CONFIG_SPARC32_COMPAT
extern int sparc32_classify_syscall(unsigned);
if (abi == AUDIT_ARCH_SPARC)
return sparc32_classify_syscall(syscall);
#endif
switch(syscall) {
case __NR_open:
return 2;
case __NR_openat:
return 3;
case __NR_socketcall:
return 4;
case __NR_execve:
return 5;
default:
return 0;
}
}

static int __init audit_classes_init(void)
{
#ifdef CONFIG_SPARC32_COMPAT
extern __u32 sparc32_dir_class[];
extern __u32 sparc32_write_class[];
extern __u32 sparc32_read_class[];
extern __u32 sparc32_chattr_class[];
audit_register_class(AUDIT_CLASS_WRITE_32, sparc32_write_class);
audit_register_class(AUDIT_CLASS_READ_32, sparc32_read_class);
audit_register_class(AUDIT_CLASS_DIR_WRITE_32, sparc32_dir_class);
audit_register_class(AUDIT_CLASS_CHATTR_32, sparc32_chattr_class);
#endif
audit_register_class(AUDIT_CLASS_WRITE, write_class);
audit_register_class(AUDIT_CLASS_READ, read_class);
audit_register_class(AUDIT_CLASS_DIR_WRITE, dir_class);
audit_register_class(AUDIT_CLASS_CHATTR, chattr_class);
return 0;
}

__initcall(audit_classes_init);
37 changes: 37 additions & 0 deletions trunk/arch/sparc64/kernel/compat_audit.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
#include <asm-sparc/unistd.h>

unsigned sparc32_dir_class[] = {
#include <asm-generic/audit_dir_write.h>
~0U
};

unsigned sparc32_chattr_class[] = {
#include <asm-generic/audit_change_attr.h>
~0U
};

unsigned sparc32_write_class[] = {
#include <asm-generic/audit_write.h>
~0U
};

unsigned sparc32_read_class[] = {
#include <asm-generic/audit_read.h>
~0U
};

int sparc32_classify_syscall(unsigned syscall)
{
switch(syscall) {
case __NR_open:
return 2;
case __NR_openat:
return 3;
case __NR_socketcall:
return 4;
case __NR_execve:
return 5;
default:
return 1;
}
}
4 changes: 4 additions & 0 deletions trunk/arch/x86_64/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@ config DMI
bool
default y

config AUDIT_ARCH
bool
default y

source "init/Kconfig"


Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ config VIDEO_V4L1_COMPAT
If you are unsure as to whether this is required, answer Y.

config VIDEO_V4L2
tristate
bool
default y

source "drivers/media/video/Kconfig"
Expand Down
2 changes: 2 additions & 0 deletions trunk/drivers/media/common/saa7146_video.c
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,7 @@ int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int
}
return err;
}
#ifdef CONFIG_VIDEO_V4L1_COMPAT
case VIDIOCGMBUF:
{
struct video_mbuf *mbuf = arg;
Expand Down Expand Up @@ -1218,6 +1219,7 @@ int saa7146_video_do_ioctl(struct inode *inode, struct file *file, unsigned int
mutex_unlock(&q->lock);
return 0;
}
#endif
default:
return v4l_compat_translate_ioctl(inode,file,cmd,arg,
saa7146_video_do_ioctl);
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/dvb/b2c2/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config DVB_B2C2_FLEXCOP
tristate "Technisat/B2C2 FlexCopII(b) and FlexCopIII adapters"
depends on DVB_CORE && I2C
select DVB_PLL
select DVB_STV0299
select DVB_MT352
select DVB_MT312
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/dvb/bt8xx/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
config DVB_BT8XX
tristate "BT8xx based PCI cards"
depends on DVB_CORE && PCI && I2C && VIDEO_BT848
select DVB_PLL
select DVB_MT352
select DVB_SP887X
select DVB_NXT6000
Expand Down
1 change: 1 addition & 0 deletions trunk/drivers/media/dvb/dvb-usb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ config DVB_USB
tristate "Support for various USB DVB devices"
depends on DVB_CORE && USB && I2C
select FW_LOADER
select DVB_PLL
help
By enabling this you will be able to choose the various supported
USB1.1 and USB2.0 DVB devices.
Expand Down
Loading

0 comments on commit a17298c

Please sign in to comment.