On Thu, Mar 28, 2002 at 01:09:29AM -0600, Chris Polley wrote: >On Wed, 27 Mar 2002 19:20:19 -0500, you wrote: >>On Wed, Mar 27, 2002@02:20:35PM -0600, Polley Christopher W wrote: >>>Are there more complete instructions to strace besides --help, the >>>Cygwin user guide, or winsup/utils/utils.sgml (all essentially the same >>>thing)? >> >>If we had better documentation why would it be hidden? > >I didn't think it was "hidden", I only humbly thought there might be a >more detailed document that the more clueful users on this list had >awareness of. I'm sorry if I've offended you by my query.
Give me a break. I was making a simple statement. >>The best documentation is the source code. In this case, the use of >>strace -p would require that you do your debugging from an account which >>had the ability to access the executing pid. If you are running inetd >>from a privileged account and stracing from a user account that won't >>work for hopefully obvious reasons. >Well, inetd is running from the system account (18). The user account >I was using to run strace has local (machine) administrator privileges >(i.e. is in the machine's "Administrators" group.) Is this >sufficiently privileged? > >Is the silent failure (immediate exit from strace) I observed a result >of this lack of privilege? Don't know. >Could I instead put >telnet stream tcp nowait root /usr/bin/strace strace -o >/strace_telnetd.log all /usr/bin/in.telnetd >in inetd.conf? Or will this cause problems? Possibly. strace is not a cygwin program, though. You'd have to use MS-DOS paths and putting a non-cygwin program in there might cause different behavior. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/