develooper Front page | perl.perl5.porters | Postings from January 2006

[perl #38374] On AIX, kill(0, $pid) always returns false if process is owned by another user

Thread Next
From:
gordoste @ iinet . net . au
Date:
January 31, 2006 04:17
Subject:
[perl #38374] On AIX, kill(0, $pid) always returns false if process is owned by another user
Message ID:
rt-3.0.11-38374-129021.10.8300653819659@perl.org
# New Ticket Created by  gordoste@iinet.net.au 
# Please include the string:  [perl #38374]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/rt3/Ticket/Display.html?id=38374 >


This is a bug report for perl from gordoste@iinet.net.au,
generated with the help of perlbug 1.26 running under perl 5.00503.


-----------------------------------------------------------------

If a process with PID $pid is running under another user, then kill(0, $pid)
always returns false.
This was discovered on AIX 4.3.3.

-----------------------------------------------------------------

---
Site configuration information for perl 5.00503:

Configured by root at Wed Aug 11 15:58:01 CDT 1999.

Summary of my perl5 (5.0 patchlevel 5 subversion 3) configuration:
  Platform:
    osname=aix, osvers=4.3.3.0, archname=aix
    uname='aix funny 3 4 000001716600 '
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef useperlio=undef d_sfio=undef
  Compiler:
    cc='cc', optimize='-O', gccversion=
    cppflags='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384'
    ccflags ='-D_ALL_SOURCE -D_ANSI_C_SOURCE -D_POSIX_SOURCE -qmaxmem=16384'
    stdchar='unsigned char', d_stdstdio=define, usevfork=false
    intsize=4, longsize=4, ptrsize=4, doublesize=8
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    alignbytes=8, usemymalloc=n, prototype=define
  Linker and Libraries:
    ld='ld', ldflags ='-s'
    libpth=/lib /usr/lib /usr/ccs/lib
    libs=-lnsl -ldbm -ldl -lld -lm -lc -lcrypt -lbsd -lPW -lC_r
    libc=/lib/libc.a, so=a, useshrplib=false, libperl=libperl.a
  Dynamic Linking:
    dlsrc=dl_aix.xs, dlext=so, d_dlsymun=undef, ccdlflags='-bE:perl.exp'
    cccdlflags=' ', lddlflags='-bhalt:4 -bM:SRE -bI:$(PERL_INC)/perl.exp
-bE:$(BASEEXT).exp -b noentry -lc'

Locally applied patches:
    

---
@INC for perl 5.00503:
    /opt/apps/ami/devl/lib/perl
    /usr/opt/perl5/lib/5.00503/aix
    /usr/opt/perl5/lib/5.00503
    /usr/opt/perl5/lib/site_perl/5.005/aix
    /usr/opt/perl5/lib/site_perl/5.005
    .

---
Environment for perl 5.00503:
    HOME=/home/mqm
    LANG=en_US
    LANGUAGE (unset)
    LC__FASTMSG=true
    LD_LIBRARY_PATH=/u01/app/oracle/product/v817/lib
    LOGDIR (unset)
   
PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/lib:/bin:/usr/bin/X11:/sbin:/usr/local/bin:/usr/local/menu:/mfgpro/mfg74fmod/bin:/usr/dc/bin:/progress/dlc83b/bin:/progress/opl32/bin:/progress/opl32/lib:/var/ifor:/usr/opt/ifor/ls/conf:/opt/apps/sysinfo/bin:/opt/bin:/u01/app/oracle/product/v817/bin:/home/mqm/bin
    PERL5LIB=/opt/apps/ami/devl/lib/perl
    PERL_BADLANG (unset)
    SHELL=/usr/bin/sh


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About