⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 linux进程跟踪的工具和源代码
💻
📖 第 1 页 / 共 4 页
字号:
	* version.c: Version 3.0.5 is released.	* desc.c, resource.c, strace.c, syscall.c, time.c: Cast tv_sec and 	tv_usec members to long when using printf.	* ipc.c: Omit define of __KERNEL__.	({MSG,SEM,SHM}_{STAT,INFO}): Explicitly define those things we 	want which __KERNEL__ used to provide.	(sys_msgrcv): Change reference to ipc_kludge structure to	look-alike ipc_wrapper to avoid dependence on __KERNEL__.	mem.c (mmap_flags) [MAP_{GROWSDOWN,DENYWRITE,EXECUTABLE}]: Add 	Linux specific options.	syscall.c: Use SYS_ERRLIST_DECLARED instead of guessing.  	[E{RESTART{SYS,NO{INTR,HAND}},NOIOCTLCMD}]: Explicitly define 	instead of depending of __KERNEL__.	term.c: Cast c_{i,o,c,l}flag to long when using printf.Tue Jun  6 00:27:48 1995  Rick Sladkey  <jrs@world.std.com>	* aclocal.m4 (AC_DECL_SYS_ERRLIST, AC_DECL__SYS_SIGLIST): New.	* configure.in: Call AC_DECL_SYS_ERRLIST, AC_DECL_SYS_SIGLIST,	and AC_DECL__SYS_SIGLIST.	* acconfig.h (SYS_ERRLIST_DECLARED): New.	* strace.c (strerror): Use SYS_ERRLIST_DECLARED.	(strsignal): Use SYS_SIGLIST_DECLARED.	net.c (sys_socket): Omit inadvertent surplus comma when	protocol family isn't PF_INET.	util.c (dumpstr): Fix incorrect printing of one too many	characters when the length is not an even multiple of 16 bytes.	Reported by Juergen Weigert	<jnweiger@immd4.informatik.uni-erlangen.de>.Thu May  4 23:37:47 1995  Rick Sladkey  <jrs@world.std.com>	* ioctl.c (compare): Change prototype to match POSIX qsort.	* signal.c (sigishandled) [SVR4]: Omit everything after return.	* strace.c (trace) [SVR4]: Break out of for loop instead of	returning when finished so final return statement is executed.	* syscall.c (internal_syscall): Add more SYS_wait* variations.	(syscall) [LINUX]: Correct typo which commented out the M68K	argument to ifdef.	* util.c (printstr): Cast unsigned char pointer argument	to char pointer in umovestr call.	(dumpstr): Likewise for umoven.Wed May  3 01:10:56 1995  Rick Sladkey  <jrs@world.std.com>	* version.c: Version 3.0.4 is released.	* signal.c (sys_sigblock): Move after the definition of	sys_sigsetmask that it calls to avoid an implicit declaration.	* stream.c (transport_user_options, transport_server_options):	Only needed if TI_BIND is defined.	* configure.in: Add -Wno-implicit to WARNFLAGS on SunOS 4.x.	* process.c (internal_fork) [SVR4]: Fix a typo that omitted	the tcp arguement from the call to exiting.  Add getrval2	check so no fork processing is done in the child.	(printwaitn): Initialize exited so that its value is defined	for all flows of execution.Tue May  2 22:39:42 1995  Rick Sladkey  <jrs@world.std.com>	* linux/dummy.h: Add aliases for sysfs, personality, afs_syscall,	setfsuid, setfsgid, and _llseek syscalls.	* linux/syscall.h: Add prototypes for them.	* linux/syscallent.h: Add them to the syscall entries table.	* system.c (headers) [LINUX]: Include linux/unistd.h to get __NR_*	defines and conditionally include linux/personality.h if	__NR_personality is defined.	(personality_options) [LINUX]: New table.	(sys_personality) [LINUX]: New function.Tue May  2 00:20:39 1995  Rick Sladkey  <jrs@world.std.com>	* strace.c (trace) [!SVR4]: Change forever loop to one predicated	on the number of traced processes so that we can have untraced	children (e.g. via popen).	* strace (main) [!SVR4]: Call fake_execve to get the actual	exec and its arguments into the trace.	(environ): Declare it.	* process.c (fake_execve): New function.	(headers): Include sys/syscall.h to get SYS_* defines.	* process.c (sys_execv, sys_execve): Surround argument annotations	with C comment delimiters.	(printargv, printargc): The arg vector is an array of char pointers	not ints.	* strace.c (printleader): Also check for multiple -p arguments	when deciding whether to print the pid field.	* strace.c (strerror) [!HAVE_STRERROR]: New function.	* defs.h (strerror, strsignal): Add these prototypes if we provide	the functions.	* configure.in (AC_CHECK_FUNCS): Add strerror.	* strace.c (main, proc_poller): Add SIGPIPE to the list of caught	and blocked signals.	* strace.c (main): Add username option.  Verify they are root before	letting them use it.  Look up the ids in the password file.  Set	them just before executing the program.	From Reuben Sumner <rasumner@undergrad.math.uwaterloo.ca>.Sat Apr 29 00:09:56 1995  Rick Sladkey  <jrs@world.std.com>	* version.c: Version 3.0.3 is released.	* system.c (mount_flags) [LINUX]: Omit duplicated MS_NOSUID entry.	From Reuben Sumner <rasumner@undergrad.math.uwaterloo.ca>.	* strace.c (outfname): Initialize to NULL.	(main): Defer output file processing until after arguments.	Allow either a pipe or a bang for command arguments.	Check if outfname is NULL instead of checking outf for stderr.	Reinitialize each startup TCB's outf to fix -p/-o ordering bug.	(droptcb): Reset close TCB's outf to NULL instead of stderr.	(tprintf): Avoid calling vfprintf if outf is NULL.	* strace.c (main): Use popen if -o argument begins with a pipe.	From Marty Leisner <leisner@sdsp.mc.xerox.com>.	* process.c (printstatus): Fix a typo where WIFSIGNALED was meant	but WIFSTOPPED was used.	* Makefile.in: Add an EXTRA_DEFS variable and use it in the .c.o	rule to prevent the comment from being untrue.Fri Apr 28 22:01:56 1995  Rick Sladkey  <jrs@world.std.com>	* strace.c (sys_exit): Move follow fork code to internal_exit.	(sys_fork): Move follow fork code to internal_fork.	(sys_execv, sys_execve): Move follow fork code to internal_exec.	(sys_waitpid, sys_wait4): Move follow fork code to internal_wait.	(vforking): Remove this static variable and check scno in	internal_fork instead.	(internal_exit, internal_fork, internal_exec, internal_wait): New	functions.	* defs.h: Add prototypes for the new internal_* functions.	* syscall.c (syscall): Move syscall entering trace qualifier check	and reprint checking after context decoding and precede them with	a call to internal_syscall.  Precede syscall exiting trace	qualifier check with a call to internal_syscall.	(internal_syscall): New function.	* defs.h (struct tcb): Make scno signed.	* strace.c (syscall) Make u_error signed.	[LINUX, I386]: Avoid unsigned cast in eax check.	* syscall.c (sys_indir): Make i, scno, and nargs signed.	* desc.c (sys_select): Make cumlen unsignedMon Apr 24 23:52:47 1995  Rick Sladkey  <jrs@world.std.com>	* net.c (socktypes): Add SOCK_PACKET.Sun Apr  2 23:50:39 1995  Rick Sladkey  <jrs@world.std.com>	* Makefile (clean): Check explicitly for a Makefile in subdirs	before running make in them.Sun Mar 26 12:37:21 1995  Rick Sladkey  <jrs@world.std.com>	* strace.c [MIPS] (proc_open): Conditionalize run on MIPS.	[MIPS] (detach): Initialize error for MIPS case.	(trace): Initialize ioctl_result and ioctl_errno for overly helpful	compilers.	* syscall.c (decode_subcall): Move variable i into conditionals	that use use it.	* system.c (syssgi_options): Conditionalize SGI_RECVLMSG and	SGI_SET_FPDEBUG that SGI decided to drop.  I don't have the stomach	to change them all.	* term.c (term_ioctl): Force [c_[iocl]flags members to long before	printing since we don't know what the size of their type is.	* util.c [SVR4, MIPS] (umoven): Prevent MIPS from using pread even	if autoconf detects it since it seems to either not work or do	something else entirely on Irix 5.3.Sun Mar 26 00:01:11 1995  Rick Sladkey  <jrs@world.std.com>	* version.c: Version 3.0.2 is released.	* linux/dummy.h: Make sys_fchdir like sys_close instead of printargs	so that the file descriptor arg is decimal.Sat Mar 25 22:50:13 1995  Rick Sladkey  <jrs@world.std.com>	* net.c [LINUX] (protocols): Explicitly define all IPPROTO_* entries	because on Linux they are enumerators.	* system.c [LINUX] (mount_flags): Handle renaming of MS_SYNC to	MS_SYNCHRONOUS.	* util.c (printxval): When there is no translation, print the actual	number first and the the default value as a C comment.	* net.c (sys_send, sys_sendto, sys_sendmsg, sys_getsockopt,	sys_setsockopt): Change first argument from unsigned to signed to	cater to the frequent practice of calling system calls with a file	descriptor of -1.	* mem.c (sys_mmap): Likewise.Sun Mar 19 13:53:52 1995  Rick Sladkey  <jrs@world.std.com>	* signal.c [LINUX] (signalent): Handle old and new values of SIGIO.Sun Dec 11 22:51:51 1994  Rick Sladkey  <jrs@world.std.com>	* version.c: Version 3.0.1 is released.	* Makefile.in, configure.in, aclocal.m4: Changes for autoconf 2.0.	* config.guess, config.guess: Update from the FSF.	* install-sh: New from the FSF.Mon Dec  5 20:51:29 1994  Rick Sladkey  <jrs@world.std.com>	* Makefile.in: Add m68k arch.	* acconfig.h (M68K): Add m68k define.	* configure.in: Add detection of arch m68k.	* process.c [M68K] (struct_user_offsets): Support m68k registers and	offsets.	* signal.c [M68K] (sigcontext_struct): Support m68k sigcontext	structure.	[M68K] (sys_sigreturn): Support m68k sigreturn handling.	* syscall.c [M68K] (syscall): Support m68k syscall number register	and errno in d0 instead of eax.	* util.c [M68K] (getpc, printcall, setbpt, clearbpt): Support m68k	program counter in PT_PC instead of EIP.	[M68K] (LOOP): Support m68k loop instruction.	From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.	* mem.c [MAP_ANONYMOUS] (mmap_flags): Correct inadvertent reference	to MAP_FIXED instead of MAP_ANONYMOUS.	From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.	* signal.c [LINUX] (signalent): Signal 30 is now SIGPWR.	From Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>.Mon Dec  5 01:05:46 1994  Rick Sladkey  <jrs@world.std.com>	* defs.h (tprintf): Fix typo in non-gcc ansi prototype for tprintf.	Reported by Thanh Ma <tma@encore.com>.	* strace.c (cleanup): Send SIGCONT before SIGTERM because Linux	1.1.62 doesn't continue a traced child when the parent exits.	Reported by Matt Day <mday@artisoft.com>.	* system.c [LINUX]: Include netinet/in.h before arpa/inet.h.	* util.c (printstr): Fix longstanding bug in notating string	continuation.	* strace.c [SVR4] (proc_open): Specifically wait for the child the	child to go into the execve syscall to avoid spurious traces.	[LINUX] (detach): Conditionalize the status variable.Sun Dec  4 23:21:42 1994  Rick Sladkey  <jrs@world.std.com>	* Makefile.in: Add mips arch.	* acconfig.h (MIPS): Add mips define.	* configure.in: Add detection of opsys irix5 and arch mips.  Check	for prctl function.	Check for sys/sysconfig.h header.	* defs.h (MAX_ARGS): Bump maximum syscall arguments from 8 to 32.	* file.c [SVR4]: Include sys/cred.h.	(access_flags): Update access flags for SGI.	(sprinttime): Change type of sprinttime argument from unsigned	long to time_t.	* process.c [HAVE_PRCTL]: Include sys/prctl.h.	[HAVE_PRCTL] (prctl_options, sys_prctl): New for SGI.	(printsiginfo): Conditionally compile SI_TIMER and SI_MESGQ.	Cast si_band member to long before printing.	* signal.c (sigact_flags): Add _SA_BSDCALL for SGI.	(sigprocmaskcmds): Add SIG_SETMASK32 for SGI.	* strace.c [SVR4] [MIPS]:	(foobar): New dummy signal handler.	(main): Install a dummy signal handler in the child before pausing	to work around an SGI bug in PRSABORT.	(proc_open): Send a interrupt to the child instead of aborting the	syscall which doesn't work on Irix5.2.	* svr4/dummy.h: Add new unfinished SGI syscalls	(e.g. sys_sysmp, sys_sginap, etc.).  Handle some SGI syscalls like	existing calls (e.g. sys_ksigaction like sys_sigaction).	Printargs does the print thing for sys_sethostid.	* svr4/syscall.h: Declare all new SGI syscalls.	(SGI_KLUDGE): Define syscall table starting index to be 1 for SGI	and add it to all subcall entry points.	(SYS_pgrpsys_subcall, SYS_sigcall_subcall, SYS_context): Don't	decode as subcalls on MIPS. Instead, use the normal syscalls.	* svr4/syscallent.h [MIPS]: Lead syscall table with a dummy entry	since SGI syscall numbers are off by one.	[MIPS] (sys_pgrpsys): Rename to sys_setpgrp on SGI.	[MIPS] (sys_xenix): Rename to sys_syssgi on SGI.	[MIPS] (sys_sysmachine): Rename to sys_sysmips on SGI.	[MIPS]: Conditionalize SVR4 extension into SGI and Solaris classes.	* syscall.c (dumpio): Validate descriptor against MAX_QUALS.	[HAVE_PR_SYSCALL] (syscall): Conditionalize SYS_vfork.	[MIPS] (syscall): Add SGI section for decoding u_error and u_rval.	Add workaround for broken SGI pr_sysarg on syscall entry.	[SVR4] (syscall): Conditionalize subcall decoding for	SYS_ptrpsys_subcall, SYS_sigcall_subcall and SYS_context_subcall.	[SVR4] [MIPS] (getrval2): Handle SGI.	* syscallent.sh: Dork the sed line to be choosier about SYS_ lines.	* system.c [HAVE_SYSCONFIG_H]: Include sys/sysconfig.h.	[MIPS] (syssgi_options, sys_syssgi): New for SGI.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -