Re: Is this program open?
Re: Is this program open?
- Subject: Re: Is this program open?
- From: Ondra Cada <email@hidden>
- Date: Thu, 13 Apr 2006 20:47:44 +0200
John,
On 13.4.2006, at 20:37, John Stiles wrote:
I guess that shows one pretty significant weakness of the "ps"
approach. The launched path may not equal the current path.
I fear you still don't get the trick: the launched path is the only
information you get, and it might be completely virtual. For example,
try this:
161 /tmp> su admin
Password:
1 /tmp> ln /usr/bin/dc /Applications/Feender.app
2 /tmp> /Applications/Feender.app&
[1] 29025
3 /tmp>
[1] + suspended (tty input) /Applications/Feender.app
3 /tmp> rm /Applications/Feender.app
override rwxr-xr-x root/wheel for /Applications/Feender.app? y
4 /tmp> ps -auxww | fgrep '/Applications/F'
ocs 2920 0.0 -0.5 250652 10812 ?? S Sun03PM
7:14.48 /Applications/FrontBaseManager.app/Contents/MacOS/
FrontBaseManager -psn_0_19529729
admin 29025 0.0 -0.0 27536 728 p2 SN 8:46PM
0:00.01 /Applications/Feender.app
admin 29031 0.0 -0.0 27384 788 p2 S+ 8:47PM 0:00.01
fgrep /Applications/F
5 /tmp>
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden