Front page | perl.perl5.porters |
Postings from October 2016
[perl #129895] OpenBSD 6 does not provide pid or uid in SA_SIGINFO
From:
perlbug-followup
Date:
October 16, 2016 18:20
Subject:
[perl #129895] OpenBSD 6 does not provide pid or uid in SA_SIGINFO
Message ID:
rt-4.0.24-16839-1476642025-1573.129895-75-0@perl.org
# New Ticket Created by
# Please include the string: [perl #129895]
# in the subject line of all future correspondence about this issue.
# <URL: https://rt.perl.org/Ticket/Display.html?id=129895 >
This is a bug report for perl from afresh1@openbsd.org,
generated with the help of perlbug 1.40 running under perl 5.24.1.
-----------------------------------------------------------------
[Please describe your issue here]
OpenBSD 6 still does not support returning pid, gid, or uid with SA_SIGINFO. I didn't talk to many folks about it, but I don't think there is much interest in fixing this, so probably easiest just to continue skipping those.
--- ext/POSIX/t/sigaction.t.orig Sat Sep 24 21:22:49 2016
+++ ext/POSIX/t/sigaction.t Sat Sep 24 21:32:58 2016
@@ -202,7 +202,7 @@
$skip{pid}{$^O} = $skip{uid}{$^O} = "not set for kill()"
if (($^O.$Config{osvers}) =~ /^darwin[0-8]\./
||
- ($^O.$Config{osvers}) =~ /^openbsd[0-5]\./);
+ ($^O.$Config{osvers}) =~ /^openbsd[0-6]\./);
my $tests = keys %{{ %siginfo, %opt_val }};
eval 'use POSIX qw(SA_SIGINFO); SA_SIGINFO';
skip("no SA_SIGINFO", $tests) if $@;
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=library
severity=medium
module=POSIX
---
Site configuration information for perl 5.24.1:
Configured by root at Thu Jan 1 0:00:00 UTC 1970.
Summary of my perl5 (revision 5 version 24 subversion 1) configuration:
Platform:
osname=openbsd, osvers=6.0, archname=amd64-openbsd
uname='openbsd'
config_args='-dsE -Dopenbsd_distribution=defined -Dccflags=-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -Dmksymlinks'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
use64bitint=define, use64bitall=define, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cc', ccflags ='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2 -I/usr/local/include',
optimize='-O2',
cppflags='-DNO_LOCALE_NUMERIC -DNO_LOCALE_COLLATE -fno-strict-aliasing -fno-delete-null-pointer-checks -pipe -fstack-protector-strong -I/usr/local/include'
ccversion='', gccversion='4.2.1 20070719 ', gccosandvers='openbsd6.0'
intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678, doublekind=3
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16, longdblkind=3
ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='cc', ldflags ='-Wl,-E -fstack-protector-strong -L/usr/local/lib'
libpth=/usr/lib /usr/lib
libs=-lm -lc
perllibs=-lm -lc
libc=/usr/lib/libc.a, so=so, useshrplib=true, libperl=libperl.so.17.99
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-R/usr/libdata/perl5/amd64-openbsd/5.24.1/CORE'
cccdlflags='-DPIC -fPIC ', lddlflags='-shared -fPIC -fstack-protector-strong -L/usr/local/lib'
Locally applied patches:
RC4
---
@INC for perl 5.24.1:
/usr/local/libdata/perl5/site_perl/amd64-openbsd
/usr/libdata/perl5/site_perl/amd64-openbsd
/usr/local/libdata/perl5/site_perl
/usr/libdata/perl5/site_perl
/usr/libdata/perl5/amd64-openbsd/5.24.1
/usr/local/libdata/perl5/amd64-openbsd/5.24.1
/usr/libdata/perl5
/usr/local/libdata/perl5
---
Environment for perl 5.24.1:
HOME=/home/afresh1
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=/home/afresh1/bin:/home/afresh1/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin:/usr/games:.
PERL_BADLANG (unset)
SHELL=/bin/ksh
-
[perl #129895] OpenBSD 6 does not provide pid or uid in SA_SIGINFO
by perlbug-followup