Permalink
Switch branches/tags
Nothing to show
Commits on Dec 17, 2011
  1. Remove the simulator target from all makefiles.

    j9brown committed with kernelzilla Jul 12, 2011
    Bug: 5010576
    
    Change-Id: Ib37f3130d8f190a541da27590b7c980f861c2bb9
  2. * net.c (socktcpoptions): Add more TCP_* constants from linux/tcp.h

    ldv-alt committed with kernelzilla Dec 1, 2011
    Reported-by: Rick Jones <rick.jones2@hp.com>
  3. Add syscall entries for new linux syscalls

    kernelzilla committed Dec 17, 2011
    Change-Id: Ic16c404ac43f490dc19500de449f8e0326d904ef
  4. Fix printfs

    cyanogen committed with kernelzilla Dec 28, 2010
    Change-Id: I6175761056b8926c0f88bbdf1fafc193548679a1
Commits on Nov 19, 2010
  1. Update the list of CLOCK_* constants to match Linux kernel v2.6.32+

    ldv-alt committed with Patrick Jacques Sep 17, 2010
    * time.c (struct xlat clocknames[]): Add more RT clock IDs.
    Reported by Tommi Rantala.
  2. Clean up pid2tcb usage

    Roland McGrath committed with Patrick Jacques Sep 15, 2010
    * strace.c (pid2tcb): Always match pid.  Fail for argument <= 0.
    [USE_PROCFS] (first_used_tcb): New function.
    [USE_PROCFS] (trace): Use that instead of pid2tcb(0).
  3. file.c (print_dirfd): Use int for file descriptor, not a long.

    dvlasenk committed with Patrick Jacques Nov 19, 2010
        * file.c (print_dirfd): Use int for file descriptor, not a long.
        * process.c (printwaitn): Use int for PID, not a long.
    
    Change-Id: I2afe1232bee581785dfcc341ca99e0a5be339f28
  4. * signal (sys_rt_sigaction): Print struct sigaction correctly in 32/…

    dvlasenk committed with Patrick Jacques Nov 19, 2010
    …64 environment.
    
    Change-Id: I334e60637c122269a99266b917165ae47691b2a6
  5. * signal (sys_rt_sigtimedwait): Fix sigtimedwait syscall decoding.

    dvlasenk committed with Patrick Jacques Nov 19, 2010
    Change-Id: I824c634bcbaa6fcf45208b5b59b8f3f36bc49089
Commits on Nov 18, 2010
  1. net.c (sys_accept): Properly decode third argument as pointer to int.

    ldv-alt committed with Patrick Jacques Jan 1, 2009
    2009-01-01  Andreas Schwab  <schwab@suse.de>
    
    	* net.c (sys_accept): Properly decode third argument as pointer to
    	int.
    
    Change-Id: I32d14a616ae83be9289be03c329bbf3d50a2e280
  2. Fix some warnings on ARM build.

    Patrick Jacques committed Nov 18, 2010
    Patch by Kirill A. Shutemov:
    * defs.h: include <sys/ptrace.h> on arm too.
    * syscall.c: EABI arm does not need decode_subcall(), ifdef it out.
    
    Conflicts:
    
    	ChangeLog
    
    Change-Id: I1ac0dbee687f63a8bbf93a18e438ae5c8187d9a1
  3. linux/syscallent.h: Mark sendfile(2) as network syscall.

    dvlasenk committed with Patrick Jacques Nov 18, 2010
    Change-Id: I6a9a2ba16f4e25c79fca04bf873ce6fa3bbd381d
  4. two instances of s/sa_handler == SIG_DFL/sa_handler == SIG_IGN/

    dvlasenk committed with Patrick Jacques Dec 17, 2008
    Change-Id: If16c9044381d18e350469935fe5fb23388477b18
  5. 2008-11-11 Dmitry V. Levin <ldv@altlinux.org>

    ldv-alt committed with Patrick Jacques Dec 10, 2008
    	* sock.c [LINUX] (sock_ioctl): Parse more SIOCS* ioctls.
  6. strace.1 (DIAGNOSTICS): New section, describe exit behavior.

    dvlasenk committed with Patrick Jacques Dec 9, 2008
  7. process.c (prctl_options): Update constants from linux 2.6.27.

    ldv-alt committed with Patrick Jacques Nov 11, 2008
    2008-11-09  Dmitry V. Levin  <ldv@altlinux.org>
    
    	* process.c (prctl_options): Update constants from linux 2.6.27.
    
    Change-Id: Ib613e04d875e5a4440913e978c7f7d802b6043de
  8. 2008-11-09 Dmitry V. Levin <ldv@altlinux.org>

    ldv-alt committed with Patrick Jacques Nov 11, 2008
    	* system.c (capabilities): Add more capability values.
  9. util.c (string_quote): Fix support for NUL-terminated string.

    ldv-alt committed with Patrick Jacques Nov 10, 2008
    2008-11-09  Dmitry V. Levin  <ldv@altlinux.org>
    
    	* util.c (string_quote): Fix support for NUL-terminated string.
    	Add comments.
    	(printpathn): Fix the case when "..." was appended to the output
    	but no truncation was actually made.  Add comments.
    	(printstr): Fix memory allocation.  Fix two cases when "..." was
    	appended to the output but no truncation was actually made.
    	Add comments.
    
    Change-Id: Ifaf8025e18513dd31174cdf8de7dd41d7fb2122e
  10. Implement parsers for new linux syscalls.

    ldv-alt committed with Patrick Jacques Nov 18, 2010
    2008-10-23  Dmitry V. Levin  <ldv@altlinux.org>
    
    Implement parsers for new linux syscalls.
    * desc.c (do_dup2, [LINUX] sys_dup3): New functions.
    (sys_dup2): Use do_dup2.
    [LINUX] (sys_epoll_create1): New function.
    [LINUX] (do_eventfd, sys_eventfd2): New functions.
    [LINUX] (sys_eventfd): Use do_eventfd.
    * net.c (do_pipe, [LINUX] sys_pipe2): New functions.
    (sys_pipe): Use do_pipe.
    * signal.c [LINUX] (do_signalfd, sys_signalfd4): New functions.
    [LINUX] (sys_signalfd): Use do_signalfd.
    * linux/syscall.h: Declare new sys_* functions.
    * linux/syscallent.h: Hook up signalfd4, eventfd2, epoll_create1,
    dup3, pipe2, inotify_init1.
    * linux/x86_64/syscallent.h: Hook up paccept, signalfd4, eventfd2,
    epoll_create1, dup3, pipe2, inotify_init1.
    
    Change-Id: Iece205a0033bdea9b1f4148bc722df2747ad4b56
  11. Handle socket type flags introduced in linux 2.6.27.

    ldv-alt committed with Patrick Jacques Nov 10, 2008
    2008-10-22  Dmitry V. Levin <ldv@altlinux.org>
    
    	Handle socket type flags introduced in linux 2.6.27.
    	* net.c (socktypes): Add SOCK_DCCP.
    	(sock_type_flags): New xlat structure.
    	(tprint_sock_type): New function.
    	(sys_socket, sys_socketpair): Use it to parse socket type and
    	socket type flags.
    
    Change-Id: I62a4830a46334afc5c56d265232956d29ba020f9
  12. strace.c (startup_child): Save child pid for future use.

    ldv-alt committed with Patrick Jacques Nov 18, 2010
    2008-09-29  Dmitry V. Levin <ldv@altlinux.org>
    
    * strace.c (startup_child): Save child pid for future use.
    (main): Exit/kill ourself with straced child's exitcode/signal.
    (trace): If signalled process pid matches the saved child pid,
    save the signal number.  If terminated process pid matches the
    saved child pid, save its exit status.
    Patch from Denys Vlasenko <dvlasenk@redhat.com>
    
    Change-Id: I3886a2b220ec7f79acb38764f02e16267b9b36f4
  13. process.c (sys_fork, sys_rfork) [USE_PROCFS]: Likewise.

    ldv-alt committed with Patrick Jacques Nov 18, 2010
    i
    2008-04-19  Dmitry V. Levin <ldv@altlinux.org>
    
    * desc.c (sys_fcntl): Do not initialize auxstr for failed syscall.
    * process.c (sys_fork, sys_rfork) [USE_PROCFS]: Likewise.
    * signal.c (sys_signal): Likewise.
    * stream.c (internal_stream_ioctl): Likewise.
    * time.c (sys_adjtimex): Likewise.
    * syscall.c (trace_syscall): If RVAL_STR is set, then
    print auxstr for failed syscall as well.
    
    Change-Id: Ib2282f057644a67358d7dc01c8eaa2dc19d31ec9
  14. process.c: update (sys_prctl)

    ldv-alt committed with Patrick Jacques Sep 3, 2008
    2008-04-19  Dmitry V. Levin <ldv@altlinux.org>
    
    	* process.c (sys_prctl): Decode PR_SET_PDEATHSIG, PR_GET_PDEATHSIG,
    	PR_SET_DUMPABLE, PR_GET_DUMPABLE, PR_SET_KEEPCAPS, PR_GET_KEEPCAPS.
    	Fix PR_GET_UNALIGN decoder.
    
    Change-Id: I1cbf933b89ee3d62300856969afd1ea2a971d262
  15. process.c (prctl_options): Add more constants.

    ldv-alt committed with Patrick Jacques Sep 3, 2008
    2008-04-19  Dmitry V. Levin <ldv@altlinux.org>
    
    	* process.c (prctl_options): Add more constants.
    
    Change-Id: I3ed05a360b62e517deb6c28372983fc63216d83d
  16. 2008-08-24 Roland McGrath <roland@redhat.com>

    Roland McGrath committed with Patrick Jacques Aug 25, 2008
    	* linux/syscall.h (SYS_socket_subcall et al, SYS_ipc_subcall et al):
    	Don't define these if [__ARM_EABI__].
    	Reported by Johannes Stezenbach <js@sig21.net>.
    
    Change-Id: I9d5512ddab990215d89235814c82ec9db004d6f5
  17. 2008-08-24 Roland McGrath <roland@redhat.com>

    Roland McGrath committed with Patrick Jacques Aug 25, 2008
    	* mem.c (mmap_prot): Handle PROT_SAO.
    	From Simon Murray <simon@transitive.com>.
  18. 2008-08-24 Roland McGrath <roland@redhat.com>

    Roland McGrath committed with Patrick Jacques Aug 25, 2008
    	* mem.c (madvise_flags): Typo fixes.  Rename to madvise_cmds.
    	(sys_madvise): Use printxval, not printflags.
    	Reported by Rajeev V. Pillai <rajeevvp@gmail.com>.
  19. signal.c Don't omit the rest of the struct after sa_handler is a know…

    Roland McGrath committed with Patrick Jacques Aug 20, 2008
    …n constant.
    
    2008-08-19  Roland McGrath  <roland@redhat.com>
    
    	* signal.c (sys_sigaction, sys_rt_sigaction): Don't omit the rest of
    	the struct after sa_handler is a known constant.  Some sa_flags bits
    	have meaning even for SIG_IGN/SIG_DFL.
    
    Change-Id: I0473e642ce8bb2f1a80a33002018a60a8348391b
  20. util.c (CLONE_VM): Define if not defined already.

    jankratochvil committed with Patrick Jacques Aug 6, 2008
    2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	* util.c (CLONE_VM): Define if not defined already.
    	(setbpt): Clear CLONE_VM in the case we already clear CLONE_VFORK for
    	SYS_clone and SYS_clone2.
    	Reported by Michal Nowak.
    	Fixes RH#455078.
    
    Change-Id: I6b13ed2ccd72f8df4e610cebc029a74775b8bb9f
  21. Fix compiler warnings

    jankratochvil committed with Patrick Jacques Aug 6, 2008
    2008-08-06  Jan Kratochvil  <jan.kratochvil@redhat.com>
    
    	Fix compiler warnings.
    	* signal.c (sys_signal): Cast to SIG_* to the matching type LONG.
    	* strace.c (trace): Variables PSR and PC are now signed.
    	* syscall.c (syscall_enter): Variable RBS_END is now signed long.
    	Remove/add the RBS_END casts appropriately.
    	* util.c [IA64] (arg_setup): Variable BSP is now signed long.
    	Remove/add the BSP casts appropriately.
    	<ia32>: Initialize *STATE.
    
    Change-Id: Ifc7fc77cd30685341cece7363c7761a2d6ccc4f2
  22. defs.h [HAVE_STDBOOL_H]: #include <stdbool.h>.

    Roland McGrath committed with Patrick Jacques Aug 1, 2008
    2008-07-31  Roland McGrath  <roland@redhat.com>
    
    	* configure.ac: Add AC_HEADER_STDBOOL.
    	* defs.h [HAVE_STDBOOL_H]: #include <stdbool.h>.
    	Fixes Debian##492774.
    
    Change-Id: I66c393938280a824f1b089532e5e92f1721c8ce2
  23. strace.c (main): Fix -F option backwards compatibility.

    Patrick Jacques committed Nov 18, 2010
    2008-07-24  Dmitry V. Levin <ldv@altlinux.org>
    
    	* strace.c (main): Fix -F option backwards compatibility.
    
    Conflicts:
    
    	ChangeLog
    
    Change-Id: I3fd16efda2625faa283b1a83b2b11dea9002a1dc
  24. 2008-07-18 Andreas Schwab <schwab@suse.de>

    Roland McGrath committed with Patrick Jacques Jul 22, 2008
    	* term.c (term_ioctl): Decode indirect parameter as int, not long.
  25. 2008-07-17 Roland McGrath <roland@redhat.com>

    Roland McGrath committed with Patrick Jacques Jul 18, 2008
    	* process.c (printwaitn): When current personality's wordsize is
    	smaller than native, sign-extend the PID argument from 32 bits.
  26. (sys_futex): Handle FUTEX_WAIT_BITSET correctly.

    Roland McGrath committed with Patrick Jacques Jul 18, 2008
    2008-07-17  Roland McGrath  <roland@redhat.com>
    
    	* process.c (futexops): Update table.
    	(sys_futex): Handle FUTEX_WAIT_BITSET correctly.
    	From Ulrich Drepper <drepper@redhat.com>.
    	Fixes RH#448628.
    
    Change-Id: I5de55dc7a85505cd50286db29534fb296c837a95