The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

p_cansee (9)
  • >> p_cansee (9) ( FreeBSD man: Ядро )

  • BSD mandoc
     

    NAME

    p_cansee
    
     - determine visibility of a process
    
     
    

    SYNOPSIS

       #include <sys/param.h>
       #include <sys/proc.h>
    int p_cansee (struct thread *td struct proc *p);
     

    DESCRIPTION

    This function can be used to determine if a given process Fa p is visible to the thread Fa td , where the notion of ``visibility'' may be read as ``awareness of existence''

    The function is implemented using cr_cansee9, and the dependencies on sysctl(8) variables documented in the cr_cansee9 manual page apply.  

    RETURN VALUES

    The p_cansee ();
    function returns 0 if the process denoted by Fa p is visible by thread Fa td , or a non-zero error return value otherwise.  

    ERRORS

    Bq Er ESRCH
    Process Fa p is not visible to thread Fa td as determined by cr_cansee9.
    Bq Er ESRCH
    Thread Fa td has been jailed and process Fa p does not belong to the same jail as Fa td .
    Bq Er ESRCH
    The MAC subsystem denied visibility.

     

    SEE ALSO

    jail(2), sysctl(8), cr_cansee9, mac(9), p_candebug9, prison_check9


     

    Index

    NAME
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру