- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- problem with setresuid in child process(Pink Proc...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 08:54 PM
тАО02-19-2009 08:54 PM
problem with setresuid in child process(Pink Process)
can anybody tell me some thing about the pink Process in UNIX..
Actually I'm running a daemon process as server.
when I'm connecting to the server using non-root login it doesn't dump the core upon receiving any core dumping Signal.
I'm using setresuid inside the signal handler..
even the uid is 111, the child is able to execute setresuid(0,0,0); inside the signal handler, which it should not.
somebody told me "A process is called pink process when the process becomes higher priviledged user". And Pink process doesn't dump core...
can anybody give me some idea about the pink process.
I'm new to this..
Regards
-Avinash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 09:14 PM
тАО02-19-2009 09:14 PM
Re: problem with setresuid in child process(Pink Process)
As noted in another thread, there is no process designation pink. There is no daemon or status with this designation.
This terminology must be coming from one of the process/applications being run not by the OS. See the application documentation.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 09:35 PM
тАО02-19-2009 09:35 PM
Re: problem with setresuid in child process(Pink Process)
I'm not getting the process designation as pink, rather it's concept called Pink process.
By the way my problem is that the child Daemon is not dumping core even if it executes the signal handler till the last line.
I've checked the "ulimit" and full permission is given to the directory where it is supposed to dump the core.
Even the effective and real user id's are same.
Please help me in this regard..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-19-2009 09:52 PM
тАО02-19-2009 09:52 PM
Re: problem with setresuid in child process(Pink Process)
http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1315595
>somebody told me
You have a URL?
The only place google finds "pink process" is you and this other forum:
ttp://www.unix.com/hp-ux/62542-core-hp-ux.html
As mentioned there, you can't get a coredump unless you attach with a debugger and ttrace(2) TT_PROC_CORE.
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=EnhancedCore
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 02:27 AM
тАО02-20-2009 02:27 AM
Re: problem with setresuid in child process(Pink Process)
any other way of getting the core file..??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 04:05 AM
тАО02-20-2009 04:05 AM
Re: problem with setresuid in child process(Pink Process)
The external representation of this is the PS_CHANGEDPRIV flag being present in the pst_status structure returned from pstat_proc().
If this is 11.11 (11i v1) -- when you say "ttrace is failing with EACCES" is that failing to attach or failing when you issue the TT_PROC_CORE? If the latter - you do need to have the EnhancedCore optional product installed (http://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=EnhancedCore)?
v3 should work with ttrace as-is. I'd have to look more at v2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-20-2009 04:46 AM
тАО02-20-2009 04:46 AM
Re: problem with setresuid in child process(Pink Process)
> Don: "Pink" is a frankly a bit of an inside joke for the process management kernel side of things. It is a state for any given process which represents "Are you now, or have you ever been -- a process with escalated privileges."
...interesting! I would have guessed that "pink" might have been someone's reference to newness or (re)birth, or at the height; paragon; pinnacle ... :-)
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2009 11:08 AM
тАО02-21-2009 11:08 AM
Re: problem with setresuid in child process(Pink Process)
If you are running on HP-UX 11i v3 (11.31) please check the output of 'coreadm' command. Refer to coreadm(1M) and coreadm(2) man pages to know how to enable/disable core file writing by setid processes.
Regards
-Rajesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2009 09:19 PM
тАО02-22-2009 09:19 PM
Re: problem with setresuid in child process(Pink Process)
currently I'm working on 11.23 IA..
The ttrace is failing with errno set to 13(EACCES), I think this happening because the process is already being traced...