Displaying 20 results from an estimated 21 matches for "sys_nerr".
2001 Mar 12
1
Bug in bsd-misc.c
Hi guys...
Just wanted to see what is so different in BSD from Linux and had a
quick look at the openbsd-compat directory (openssh-2.5.1p1).
There is a REALLY obvious bug in bsd-misc.c, quoted below:
#if !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST) &&
defined(HAVE_SYS_NERR)
const char *strerror(int e)
{
extern int sys_nerr;
extern char *sys_errlist[];
if ((e >= 0) || (e < sys_nerr))
return("unlisted error");
else
return(sys_errlist[e]);
}
#endif
(Shouldn't the return stateme...
2000 Feb 14
0
[openssh-1.2.2] some porting notes for SunOS 4.1.4
.... SunOS is already
based on BSD signal semantics; do they also apply when using signal
functions from the POSIX interface? (See patch at end of mail.)
That's it for now.
Charles
========================================================================
==> strerror.c <==
extern int sys_nerr;
extern char *sys_errlist[];
char *
strerror(e)
int e;
{
return (e >= 0 && e < sys_nerr)
? sys_errlist[e]
: "unlisted error" ;
}
==> atexit.c <==
#include <sys/types.h>
extern int on_exit(void (*f)(), caddr_t a);
int
atexit(f)
void (*f)(void);
{
retur...
2000 Jul 17
0
patch for getting 2.1.1p4 to compile on SunOS 4
...tproctitle(const char *fmt, ...)
{
@@ -159,8 +78,13 @@
#endif /* !defined(HAVE_SETEUID) && defined(HAVE_SETREUID) */
#if !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST)
-const char *strerror(void)
+const char *strerror(int e)
{
- return(sys_errlist[errno]);
+ extern int sys_nerr;
+ extern char *sys_errlist[];
+
+ return (e >= 0 && e < sys_nerr)
+ ? sys_errlist[e]
+ : "unlisted error" ;
}
#endif /* !defined(HAVE_STRERROR) && defined(HAVE_SYS_ERRLIST) */
--- bsd-misc.h.orig-2.1.1p4 Sat Jul 15 00:59:14 200...
2023 Oct 31
1
9.3p1 Daemon Rejects Client Connections on armv7l-dey-linux-gnueabihf w/ GCC 10/11/12
...} supports compile flag -ftrivial-auto-var-init=zero
for sys/sysctl.h
for library containing login
for closefrom
for close_range
for library containing dlopen
for arc4random
for arc4random_buf
for arc4random_uniform
if libc defines sys_errlist
if libc defines sys_nerr
for library containing res_query
for library containing dn_expand
if res_query will link
for _getshort
for _getlong
While most of these configuration difference seem trivial and innocuous,
the -fzero-call-used-regs=all and -ftrivial-auto-var-init=zero compiler
language / code g...
2007 Sep 13
0
Compilation error when linking libsmbclient.so :-(
.../libcrypto.so.6: undefined reference to `__syslog_chk@GLIBC_2.4'
/net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so:
undefined reference to `krb5_get_init_creds_opt_set_forwardable@krb5_3_MIT'
/usr/lib/libldap-2.3.so.0: undefined reference to `sys_nerr@GLIBC_2.4'
/net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so:
undefined reference to `krb5_cc_initialize@krb5_3_MIT'
/net/172.17.8.206/usr/local/avinash/p4/iControl/src/subsystems/src/thirdparty/libs/libsmbclient.so:
undefined reference to `k...
2003 Jan 09
0
Building openssh-3.5p1 with new DES functions
...c int
^
[...]
---------------------------------------------------------------
I tried to configure openssh without privsep, but then configure failed to
detect kerberos!:
[...]
checking whether getopt has optreset support... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
configure: WARNING: AFS requires Kerberos IV support, build may fail
checking for "/dev/ptmx"... yes
[...]
OpenSSH has been configured with the following options:
User binaries: /usr/local/bin
System binaries: /usr/local/sbin...
2000 Oct 04
0
2.2.0p1 chroot patch
...hen
+if { (eval echo configure:4652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
rm -rf conftest*
ac_cv_libc_defines_sys_errlist="yes"
else
@@ -4670,20 +4672,20 @@
echo $ac_n "checking if libc defines sys_nerr""... $ac_c" 1>&6
-echo "configure:4674: checking if libc defines sys_nerr" >&5
+echo "configure:4676: checking if libc defines sys_nerr" >&5
if eval "test \"`echo '$''{'ac_cv_libc_defines_sys_nerr'+set}'`\&qu...
2001 Oct 26
2
problems building on solaris 2.6
...lass field in struct passwd... no
checking for pw_expire field in struct passwd... no
checking for pw_change field in struct passwd... no
checking if libc defines __progname... no
checking whether getopt has optreset support... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for rsh... /usr/bin/rsh
checking for xauth... /usr/openwin/bin/xauth
checking for "/dev/ptmx"... yes
checking for "/dev/ptc"... no
checking for "/dev/urandom"... no
checking for PRNGD/EGD socket... /var/run/egd-pool
checking for ls... /usr/bin/ls
checki...
2001 May 15
0
openssh 2.9p1 on Solaris 2.6 with AFS
...dr_un... no
checking for ss_family field in struct sockaddr_storage... no
checking for __ss_family field in struct sockaddr_storage... no
checking for pw_class field in struct passwd... no
checking if libc defines __progname... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for krb.h... yes
checking for main in -lkrb... yes
checking for des_cbc_encrypt in -ldes... theyes
checking for dn_expand in -lresolv... yes
checking for rsh... /usr/opt/bin/rsh
checking for xauth... /usr/openwin/bin/xauth
checking for /dev/ptmx... yes
checking for /dev/ptc... no
c...
2001 Apr 10
2
Compiling openssh 2.5.p1 on unixware 7.0.1
...truct sockaddr_storage... (cached) no
checking for __ss_family field in struct sockaddr_storage... (cached) no
checking for pw_class field in struct passwd... (cached) no
checking if libc defines __progname... (cached) no
checking if libc defines sys_errlist... (cached) yes
checking if libc defines sys_nerr... (cached) yes
checking for rsh... (cached) /usr/bin/rsh
checking for xauth... (cached) /usr/X/bin/xauth
checking for /dev/ptmx... (cached) yes
checking for /dev/ptc... (cached) no
checking for /dev/urandom... (cached) no
checking for PRNGD/EGD socket... not found
checking for ls... (cached) /usr/...
2023 Mar 15
4
[libnbd PATCH v4 0/3] lib/utils: add async-signal-safe assert()
This is version 4 of the following sub-series:
[libnbd PATCH v3 06/29] lib/utils: introduce xwrite() as a more robust write()
[libnbd PATCH v3 07/29] lib/utils: add async-signal-safe assert()
[libnbd PATCH v3 08/29] lib/utils: add unit test for async-signal-safe assert()
http://mid.mail-archive.com/20230215141158.2426855-7-lersek at redhat.com
2001 Jul 11
0
Solaris 2.6: Undefined symbol seed_rng
...r_un... no
checking for ss_family field in struct sockaddr_storage... no
checking for __ss_family field in struct sockaddr_storage... no
checking for pw_class field in struct passwd... no
checking if libc defines __progname... yes
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for rsh... /usr/ucb/rsh
checking for xauth... /usr/openwin/bin/xauth
checking for /dev/ptmx... yes
checking for /dev/ptc... no
checking for /dev/urandom... no
checking for PRNGD/EGD socket... not found
checking for ls... /usr/ucb/ls
checking for netstat... /usr/ucb/netstat
checking...
2006 Feb 06
1
Compile warning report of openssh 4.3p1 on Intel Macs
...hecking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking whether va_copy exists... yes
checking whether __va_copy exists... yes
checking whether getopt has optreset support... yes
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for library containing getrrsetbyname... no
checking for library containing res_query... none required
checking for library containing dn_expand... none required
checking if res_query will link... yes
checking for _getshort... yes
checking for _getlong... yes
checking whether _getsh...
2006 Apr 23
0
Configuration Warnings OpenSSH 4.3p2
...s
checking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking whether va_copy exists... no
checking whether __va_copy exists... no
checking whether getopt has optreset support... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for library containing getrrsetbyname... no
checking for library containing res_query... none required
checking for library containing dn_expand... none required
checking if res_query will link... yes
checking for _getshort... yes
checking for _getlong... yes
checking whether _getsh...
2011 Sep 02
1
problems building openssh-5.8p1 on qnx
...ntoarmv7-gcc implements __FUNCTION__... yes
checking whether ntoarmv7-gcc implements __func__... yes
checking whether va_copy exists... yes
checking whether __va_copy exists... no
checking whether getopt has optreset support... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for library containing getrrsetbyname... no
checking for library containing res_query... none required
checking for library containing dn_expand... none required
checking if res_query will link... yes
checking for _getshort... yes
checking for _getlong... yes
checking whether _getsh...
2003 Jun 24
20
[Bug 601] configure script doesen't setup preprocessor flags properly
..._control field in struct msghdr... no
checking if libc defines __progname... no
checking whether gcc implements __FUNCTION__... yes
checking whether gcc implements __func__... yes
checking whether getopt has optreset support... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for xauth... /usr/openwin/bin/xauth
checking for "/dev/ptmx"... yes
checking for "/dev/ptc"... no
checking for nroff... /usr/bin/nroff
checking if the systems has expire shadow information... yes
Adding /usr/local/bin to USER_PATH so scp will work
checking if we...
2002 Mar 15
1
Problems compiling on Redhat
...ass field in struct passwd... no
checking for pw_expire field in struct passwd... no
checking for pw_change field in struct passwd... no
checking if libc defines __progname... yes
checking whether getopt has optreset support... no
checking if libc defines sys_errlist... yes
checking if libc defines sys_nerr... yes
checking for rsh... no
checking for xauth... no
checking for "/dev/ptc"... no
checking for nroff... /usr/bin/nroff
checking if the systems has expire shadow information... yes
Adding /usr/local/bin to USER_PATH so scp will work
checking if we need to convert IPv4 in IPv6-mapped add...
2001 Jul 16
0
No subject
...e; printf("%s", __progname);
; return 0; }
configure:6530: checking if libc defines sys_errlist
configure:6543: cc -o conftest -g -I/usr/local/ssl/include -L/usr/local/ssl/lib conftest.c -lz -lsecurity -ldb -lm -laud -lutil -lcrypto 1>&5
configure:6567: checking if libc defines sys_nerr
configure:6580: cc -o conftest -g -I/usr/local/ssl/include -L/usr/local/ssl/lib conftest.c -lz -lsecurity -ldb -lm -laud -lutil -lcrypto 1>&5
configure:6973: checking for rsh
configure:7023: checking for xauth
configure:7094: checking for /dev/ptmx
configure:7127: checking for /dev/ptc
co...
2012 Nov 29
2
[LLVMdev] problem trying to write an LLVM register-allocation pass
I have a new problem: Register RBP is used in a function foo. (I am not
allocating RBP to any virtual register, the instances of RBP in function
foo are in the machine code when my register allocator starts.)
Function foo calls function bar. Register RBP is not saved across the
call, though it is live after the call. Function bar includes a virtual
register. The code that I'm using to
2012 Dec 01
0
[LLVMdev] problem trying to write an LLVM register-allocation pass
...((__nothrow__)) ;
extern void clearerr_unlocked (FILE *__stream) __attribute__ ((__nothrow__));
extern int feof_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern int ferror_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern void perror (__const char *__s);
extern int sys_nerr;
extern __const char *__const sys_errlist[];
extern int fileno (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern int fileno_unlocked (FILE *__stream) __attribute__ ((__nothrow__)) ;
extern FILE *popen (__const char *__command, __const char *__modes) ;
extern int pclose (FILE *__stream);
exter...