[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: The --password and clumsy users issue

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 04 Jul 2014 12:57:13 +0100

Ben Reser <ben_at_reser.org> writes:

> I don't think the C standards specify this sort of behavior but something has
> to be shared between the kernel and the process in order to allow this
> modification.

sendmail is known for changing its ps line. There is a python module
that demonstrates various methods:

https://github.com/dvarrazzo/py-setproctitle/blob/master/src/spt_status.c

Ways to do it include setproctitle(), pstat(), modifying argv, writing
to /dev/kmem (!), calling exec(), etc. I have no idea if it is possible
on Windows, or even if the parameters are visible on Windows.

-- 
Philip Martin | Subversion Committer
WANdisco // *Non-Stop Data*
Received on 2014-07-04 13:57:53 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.