PROCESS-KEYRING(7) Linux Programmer's Manual PROCESS-KEYRING(7)NAME
process-keyring - per-process shared keyring
DESCRIPTION
The process keyring is a keyring used to anchor keys on behalf of a process. It is created only when a process requests it. The process
keyring has the name (description) _pid.
A special serial number value, KEY_SPEC_PROCESS_KEYRING, is defined that can be used in lieu of the actual serial number of the calling
process's process keyring.
From the keyctl(1) utility, '@p' can be used instead of a numeric key ID in much the same way, but since keyctl(1) is a program run after
forking, this is of no utility.
A thread created using the clone(2) CLONE_THREAD flag has the same process keyring as the caller of clone(2). When a new process is cre-
ated using fork() it initially has no process keyring. A process's process keyring is cleared on execve(2). The process keyring is
destroyed when the last thread that refers to it terminates.
If a process doesn't have a process keyring when it is accessed, then the process keyring will be created if the keyring is to be modified;
otherwise, the error ENOKEY results.
SEE ALSO keyctl(1), keyctl(3), keyrings(7), persistent-keyring(7), session-keyring(7), thread-keyring(7), user-keyring(7), user-session-keyring(7)Linux 2017-03-13 PROCESS-KEYRING(7)
hi
i am having unix 5.05.with compaq ml330 serevr
it works in single mode ok
but afetr installing specialix 30 port serial card driver
it gives following message on server
FORK ERROR TOO MANY PROCESS (1 Reply)
Hi,
i need to find the process name using the process id in C. This has to be done in HP, AIX, Solaris & Linux??
How can this be done? Is there any common solution to all platforms?
On linux i have heard that /proc/<pid>/cmdline can be used. Is there a structure available to read this?
... (3 Replies)
Hi
I'm currently working with C on UNIX (HPUX) and need to be able to fork a seperate Java process from within a running C process.
I can run the following code from the command line via a script but am having difficulty getting it to work from within the code.
I am trying to use execl. Is... (4 Replies)
hello
i have direcotry in which i will be getting a number of input files with different names and i need to write a script where i need to process the older file first and then come out of the loop.
can any one throw some light
appreciate (2 Replies)
Hi all,
I have a process with PID as 12456. Could you please let me know how do i find out what is the port that process listens upon in Linux?
Thanks in Advance,
Pankajakshan (2 Replies)
Hi,
My process is visible in 'ps' command but actually it is not working or it got hanged. This process is not generating any log. Now How can I know that my process got hanged.
Please help. (2 Replies)
I have one process which is supposed to run 24 x7, However, it was down a couple of times since yesterday. Can anyone please tell me how to investigate this issue? (I have changed the box and process name.)
root@mybox:pwd
/etc/init.d
root@mybox:./abcd start
eTrust Audit r8.0 (102.5)... (2 Replies)
Can someone tell me what the output of 'who -d' is ?
What's causing the process in the list to be there ?
What can be done to get rid of / fix those process ?
Are those process simple problems, important or urgent onces ?
I am asking because while looking for another 'who' option, I... (2 Replies)
Hi All,
We have a multi-threaded application.
During the course of action, each process creates some files. Is there any way to know which process has created a particular file ?
Ex:
Suppose we have 3 process running A, B and C in the application and some files FILE1 FILE2 FILE3 and... (4 Replies)
Hi,
How to release file description area from specified process.
Problem is that process started - open one file ( ~2GB ) - file has been removed - process still shown that file is used by process and can't release space on filesystem.
It is not allowable to kill process !!!
Regs,... (3 Replies)
Hi All,
We have a process which is running for last 2 years well and good in production. But suddenly yesterday there was issue we faced in the process.
The actual process is what it does like below.
1. Receive the files in NAS directory(N/w attached storage).
2. Trigger the... (11 Replies)