Commit graph

178548 commits

Author SHA1 Message Date
Gerard Wagener
d0fa66220d Add description for internal function 2010-01-12 16:40:05 +01:00
Gerard Wagener
3ec5e63ca7 Add some logging information if file write failed 2010-01-12 16:38:44 +01:00
Gerard Wagener
f8929ed150 Tried to split up the code 2010-01-12 16:35:11 +01:00
Gerard Wagener
2f50e920ff Add new shared header file 2010-01-12 14:17:27 +01:00
Gerard Wagener
c429e39943 Version that compiles where aha code was moved to aha.c 2010-01-12 14:10:47 +01:00
Gerard Wagener
0c1d3789ba Removed aha.h out of the main include directory 2010-01-12 13:46:44 +01:00
Gerard Wagener
1a4985b872 Moved header file to arch/um/include/shared 2010-01-12 13:45:38 +01:00
Gerard Wagener
e10bc5fe3d Commented out my code from arch/um/kernel/exec aiming migration to aha.c 2010-01-12 13:43:45 +01:00
Gerard Wagener
9fe3d93db2 Add aha.c stub 2010-01-12 13:42:43 +01:00
Gerard Wagener
1204901470 Modified Makefile of uml kernel to compile aha.o 2010-01-12 13:42:07 +01:00
Gerard Wagener
c4db6aede0 Standard config 2010-01-10 20:11:32 +01:00
Gerard Wagener
56df953f17 Some random notes 2010-01-10 20:11:03 +01:00
Gerard Wagener
7ce1919c2f Script to start UML; can't remember arguments :) 2010-01-10 20:09:59 +01:00
Gerard Wagener
b30d45db44 aha-worker parses now also the messages and put them in a log file 2010-01-09 18:37:30 +01:00
Gerard Wagener
3859a6d83b Focus only on decisions and retrieval of messages; rest went to ahalib 2010-01-09 18:36:36 +01:00
Gerard Wagener
317b01bcf4 Put common classes between aha and aha-worker in a different file 2010-01-09 18:35:51 +01:00
Gerard Wagener
91a9818bd7 Reduced sleeptime to facilitate debugging 2010-01-09 18:35:22 +01:00
Gerard Wagener
0c401688fc Add sample / unfinished configuration file for the aha framework 2010-01-08 22:26:05 +01:00
Gerard Wagener
e50b1b2c29 Forgot that the index 0 was reserved 2010-01-08 22:25:24 +01:00
Gerard Wagener
16989baa5f Temporary code to randomly insult user when vi is started multiple times 2010-01-08 22:23:41 +01:00
Gerard Wagener
cfaae0fe35 Kernel handle variable insult messages 2010-01-08 21:56:10 +01:00
Gerard Wagener
55c0994faa Removed cleanup todo; aha-worker from the home os is doing that now 2010-01-08 18:13:03 +01:00
Gerard Wagener
efcbc9b988 Add insulting program 2010-01-08 18:08:10 +01:00
Gerard Wagener
6b61d01bb4 Implement in kernel space decisions from AHA 2010-01-08 17:33:22 +01:00
Gerard Wagener
9c41027eea AHA can block calls. Currently vi is blocked 2010-01-08 17:32:12 +01:00
Gerard Wagener
fbc4051c25 Add worker process that cleans up periodically 2010-01-08 15:16:01 +01:00
Gerard Wagener
a9d6882588 Forgot to include additional header file 2010-01-07 20:45:51 +01:00
Gerard Wagener
adf5e80cda First version that asks aha framework for permission to execute it 2010-01-07 20:42:50 +01:00
Gerard Wagener
509cf94a40 Fixed bug where aha generated empty messages 2010-01-07 20:33:23 +01:00
Gerard Wagener
582318e4cb Decision engine creates messages 2010-01-07 18:00:39 +01:00
Gerard Wagener
4d468f9ad9 Changed fromat of the end tag such that it is easier parsable by the aha
decision engine
2010-01-07 17:59:45 +01:00
Gerard Wagener
42f3981edd First attempt to automatically grasp kernel events from the UML 2010-01-07 16:48:45 +01:00
Gerard Wagener
7cf462a52c add todo: clone system calls need to be monitored too. Now I have
concurrent access
2010-01-07 14:49:58 +01:00
Gerard Wagener
fc8522fbef PID and PPID and real_parent is logged 2010-01-07 14:48:05 +01:00
Gerard Wagener
45c34f8314 Cleaned up the code a bit 2010-01-07 13:47:12 +01:00
Gerard Wagener
e1e908b8cb Nasty code to generate unique files with the output of sys_execve arguments 2010-01-06 22:57:07 +01:00
Gerard Wagener
7025b6f9cb printk program name and command line arguments
First attempt to log the program name with its command line arguments,
with an additional function integrated in sys_execve
2010-01-05 21:20:31 +01:00
Linus Torvalds
6b7b284958 Linux 2.6.33-rc2 2009-12-24 13:09:41 -08:00
Linus Torvalds
0b5e2588d8 Merge branch 'sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6
* 'sysctl' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-misc-2.6:
  SYSCTL: Add a mutex to the page_alloc zone order sysctl
  SYSCTL: Print binary sysctl warnings (nearly) only once
2009-12-24 13:01:29 -08:00
Linus Torvalds
6067d7e4f0 Merge branch 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6
* 'hwpoison' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-mce-2.6:
  HWPOISON: Add PROC_FS dependency to hwpoison injector v2
2009-12-24 13:01:13 -08:00
Linus Torvalds
71492fd1bd Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6
* 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6: (34 commits)
  classmate-laptop: add support for Classmate PC ACPI devices
  hp-wmi: Fix two memleaks
  acer-wmi, msi-wmi: Remove needless DMI MODULE_ALIAS
  dell-wmi: do not keep driver loaded on unsupported boxes
  wmi: Free the allocated acpi objects through wmi_get_event_data
  drivers/platform/x86/acerhdf.c: check BIOS information whether it begins with string of table
  acerhdf: add new BIOS versions
  acerhdf: limit modalias matching to supported
  toshiba_acpi: convert to seq_file
  asus_acpi: convert to seq_file
  ACPI: do not select ACPI_DOCK from ATA_ACPI
  sony-laptop: enumerate rfkill devices using SN06
  sony-laptop: rfkill support for newer models
  ACPI: fix OSC regression that caused aer and pciehp not to load
  MAINTAINERS: add maintainer for msi-wmi driver
  fujitu-laptop: fix tests of acpi_evaluate_integer() return value
  arch/x86/kernel/cpu/cpufreq/acpi-cpufreq.c: avoid cross-CPU interrupts by using smp_call_function_any()
  ACPI: processor: remove _PDC object list from struct acpi_processor
  ACPI: processor: change acpi_processor_set_pdc() interface
  ACPI: processor: open code acpi_processor_cleanup_pdc
  ...
2009-12-24 13:00:02 -08:00
Linus Torvalds
45e62974fb Merge branch 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2
* 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jlbec/ocfs2:
  ocfs2/trivial: Use le16_to_cpu for a disk value in xattr.c
  ocfs2/trivial: Use proper mask for 2 places in hearbeat.c
  Ocfs2: Let ocfs2 support fiemap for symlink and fast symlink.
  Ocfs2: Should ocfs2 support fiemap for S_IFDIR inode?
  ocfs2: Use FIEMAP_EXTENT_SHARED
  fiemap: Add new extent flag FIEMAP_EXTENT_SHARED
  ocfs2: replace u8 by __u8 in ocfs2_fs.h
  ocfs2: explicit declare uninitialized var in user_cluster_connect()
  ocfs2-devel: remove redundant OCFS2_MOUNT_POSIX_ACL check in ocfs2_get_acl_nolock()
  ocfs2: return -EAGAIN instead of EAGAIN in dlm
  ocfs2/cluster: Make fence method configurable - v2
  ocfs2: Set MS_POSIXACL on remount
  ocfs2: Make acl use the default
  ocfs2: Always include ACL support
2009-12-24 12:59:11 -08:00
Linus Torvalds
756fe28507 Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm
* 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm:
  VIDEO: cyberpro: pci_request_regions needs a persistent name
  ARM: dma-isa: request cascade channel after registering it
  ARM: footbridge: trim down old ISA rtc setup
  ARM: fix PAGE_KERNEL
  ARM: Fix wrong shared bit for CPU write buffer bug test
  ARM: 5857/1: ARM: dmabounce: fix build
  ARM: 5856/1: Fix bug of uart0 platfrom data for nuc900
  ARM: 5855/1: putc support for nuc900
  ARM: 5854/1: fix compiling error for NUC900
  ARM: 5849/1: ARMv7: fix Oprofile events count
  ARM: add missing include to nwflash.c
  ARM: Kill CONFIG_CPU_32
  ARM: Convert VFP/Crunch/XscaleCP thread_release() to exit_thread()
  ARM: 5853/1: ARM: Fix build break on ARM v6 and v7
2009-12-24 12:57:45 -08:00
Linus Torvalds
eec74a410f Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/bp/bp:
  edac, pci: remove pesky debug printk
  amd64_edac: restrict PCI config space access
  amd64_edac: fix forcing module load/unload
  amd64_edac: make driver loading more robust
  amd64_edac: fix driver instance freeing
  amd64_edac: fix K8 chip select reporting
2009-12-24 12:55:40 -08:00
Linus Torvalds
ef2c55e5c6 Merge branch 'sh/for-2.6.33' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6
* 'sh/for-2.6.33' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
  sh: Ensure all PG_dcache_dirty pages are written back.
  sh: mach-ecovec24: setup.c detailed correction
  serial: sh-sci: Convert tremaining ctrl_xxx I/O routines to __raw_xxx.
  serial: sh-sci: earlyprintk zero uartclk fix
  sh: Only use bl bit toggling for sleeping idle.
  sh: Restore bl bit toggling in idle loop.
  sh: Fix up MAX_DMA_CHANNELS definition when DMA is disabled.
  sh: dmaengine support for SH7785
  sh: dmaengine support for sh7724.
2009-12-24 12:54:02 -08:00
Russell King
ed5a35acbb VIDEO: cyberpro: pci_request_regions needs a persistent name
Don't pass a name pointer from the kernel stack, it will not survive
and will result in corrupted /proc/iomem output.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-12-24 18:34:09 +00:00
Russell King
e8b8f5ef90 ARM: dma-isa: request cascade channel after registering it
We can't request the cascade channel before it's been registered, so
move it afterwards.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-12-24 18:34:08 +00:00
Russell King
382b4480ff ARM: footbridge: trim down old ISA rtc setup
This fixes a "start_kernel(): bug: interrupts were enabled early".

rtc_cmos now takes care of initializing the ISA RTC and reading the
current time and date from it; there's no need to repeat that here,
thereby causing interrupts to be enabled too early.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-12-24 13:39:18 +00:00
Russell King
6dc995a3da ARM: fix PAGE_KERNEL
PAGE_KERNEL should not be executable; any area marked executable can
be prefetched into the instruction cache.  We don't want vmalloc areas
to be read in this way.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-12-24 10:16:21 +00:00
Borislav Petkov
5213c32f9d edac, pci: remove pesky debug printk
Do not spam the logs needlessly with the sole info that
edac_pci_dev_parity_clear is being called.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
2009-12-24 11:07:09 +01:00