Commit graph

178504 commits

Author SHA1 Message Date
Gerard Wagener
1e178854a5 This version has a major bugs with buffer sizes due to failed
inline optimizations my fault :-(
2010-01-14 11:50:14 +01:00
Gerard Wagener
41edea30d9 Found another place where forks should be investigated 2010-01-12 19:21:35 +01:00
Gerard Wagener
71d68f1386 Found the place where clones can be traced 2010-01-12 18:14:01 +01:00
Gerard Wagener
165804ff13 Updated config file for the current development version 2010-01-12 17:50:10 +01:00
Gerard Wagener
ad8a82b369 aha.py gets parameters from config file 2010-01-12 17:07:41 +01:00
Gerard Wagener
b07b91ce18 Do not used printk but PRINTK macro that can be enabled / disabled 2010-01-12 16:49:22 +01:00
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