search for: have_sysconf

Displaying 20 results from an estimated 35 matches for "have_sysconf".

2013 Jun 25
0
[LLVMdev] [PATCH] Windows implementation of enable_execute_stack
...; +#else >> >> Why not simply #elif defined(_WIN32) and skip the extra level of #ifs? >> > > There is an #if __APPLE__ for this part: > > #if __APPLE__ > /* On Darwin, pagesize is always 4096 bytes */ > const uintptr_t pageSize = 4096; > #elif !defined(HAVE_SYSCONF) > #error "HAVE_SYSCONF not defined! See enable_execute_stack.c" > #else > const uintptr_t pageSize = sysconf(_SC_PAGESIZE); > #endif /* __APPLE__ */ > > followed by the generic Unix implementation. Neither applies to Win32, so > I ifdef'ed the whole thing...
2013 May 13
0
[klibc:sysconf] Framework and trivial implementation of sysconf(3)
...++ 5 files changed, 56 insertions(+), 4 deletions(-) diff --git a/usr/dash/config.h b/usr/dash/config.h index 35230c7..9757009 100644 --- a/usr/dash/config.h +++ b/usr/dash/config.h @@ -81,7 +81,7 @@ #define HAVE_STRTOUMAX 1 /* Define to 1 if you have the `sysconf' function. */ -/* #undef HAVE_SYSCONF */ +#define HAVE_SYSCONF 1 /* Define to 1 if you have the <sys/stat.h> header file. */ #define HAVE_SYS_STAT_H 1 diff --git a/usr/include/sys/sysconf.h b/usr/include/sys/sysconf.h new file mode 100644 index 0000000..13ababc --- /dev/null +++ b/usr/include/sys/sysconf.h @@ -0,0 +1,40 @@ +/...
2004 Jan 13
3
[Bug 787] Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd)
http://bugzilla.mindrot.org/show_bug.cgi?id=787 Summary: Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd) Product: Portable OpenSSH Version: 3.7.1p2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: sshd AssignedTo:
2010 Sep 03
1
TinycoreLinux Install
...efine HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define USE_RTTI 1 | #define HAVE_GETTIMEOFDAY 1 | #define HAVE_FTIME 1 | #define HAVE_SIGACTION 1 | #define HAVE_SIGSETJMP 1 | #define HAVE_GETRUSAGE 1 | #define HAVE_TIMES 1 | #define HAVE_SYSCONF 1 | /* end confdefs.h. */ | /* Define closefrom to an innocuous variant, in case <limits.h> declares closefrom. | For example, HP-UX 11i <limits.h> declares gettimeofday. */ | #define closefrom innocuous_closefrom | | /* System header to define __stub macros and hopefully few prot...
2001 Mar 20
1
[2.5.2p1] openbsd-compat/glob.c: ARG_MAX not defined, alternative
Hi. On sparc-sun-sunos4.1.4 (i.e., -DSUNOS4), ARG_MAX is not defined anywhere, although <sys/limits.h> has the following line: #define _POSIX_ARG_MAX 4096 This is more a minimum imposed by POSIX than anything else. The proper solution revolves around this: ======================================================================== bash$ cat > x.c #include <unistd.h>
2024 Sep 11
2
[Bug 3735] New: The ngroups variable may be set to a negative value when calling sysconf(_SC_NGROUPS_MAX)
https://bugzilla.mindrot.org/show_bug.cgi?id=3735 Bug ID: 3735 Summary: The ngroups variable may be set to a negative value when calling sysconf(_SC_NGROUPS_MAX) Product: Portable OpenSSH Version: 9.8p1 Hardware: Other OS: All Status: NEW Severity: normal Priority: P5
2015 Feb 06
2
Fwd: Waiting for Reply regarding "TestCases Failure"
...#define USE_RTTI 1 #define HAVE_CLOCK_GETTIME 1 #define HAVE_NANOSLEEP 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_FTIME 1 #define HAVE_TIMER_CREATE 1 #define HAVE_SRANDOM 1 #define HAVE_RANDOM 1 #define HAVE_SIGACTION 1 #define HAVE_SIGSETJMP 1 #define HAVE_GETRUSAGE 1 #define HAVE_TIMES 1 #define HAVE_SYSCONF 1 #define HAVE_SETENV 1 #define HAVE_DIRFD 1 #define HAVE_GETRLIMIT 1 #define HAVE_SYS_UTSNAME_H 1 #define HAVE_GETHOSTNAME 1 #define SIZEOF_SHORT 2 #define SIZEOF_INT 4 #define SIZEOF_LONG 8 #define HAVE_FCNTL_H 1 #define HAVE_LIMITS_H 1 #define HAVE_SYS_ERRNO_H 1 #define HAVE_SYS_SELECT_H 1 #defi...
2004 Feb 20
24
[Bug 787] Minor security problem due to use of deprecated NGROUPS_MAX in uidswap.c (sshd)
http://bugzilla.mindrot.org/show_bug.cgi?id=787 ------- Additional Comments From openssh_bugzilla at hockin.org 2004-02-20 13:01 ------- Created an attachment (id=548) --> (http://bugzilla.mindrot.org/attachment.cgi?id=548&action=view) NGROUPS patch ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
2003 Dec 25
1
How to tell if option "with-acl-support" is compiledin Solaris smbd?
..._SRANDOM HAVE_STAT64 HAVE_STAT_ST_BLKSIZE HAVE_STAT_ST_BLOCKS HAVE_STRCASECMP HAVE_STRCHR HAVE_STRDUP HAVE_STRERROR HAVE_STRFTIME HAVE_STRLCAT HAVE_STRLCPY HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_UNIXSOCKET HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_UX_UT_SYSLEN HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__ACL...
2005 Nov 09
0
Samba 3.0.20b / AIX 5.3 / VFS Modules
...DUP HAVE_STRNLEN HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_DIR64 HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_SECMETHOD_TABLE_METHOD_ATTRLIST HAVE_STRUCT_SECMETHOD_TABLE_METHOD_VERSION HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_TELLDIR64 HAVE_UNIXSOCKET HAVE_UNSIGNED_CHAR HAVE_UPDWTMP HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__LSEEK HAVE__READDIR HAVE...
2007 Sep 24
2
Where is the tdbsam password database file?
...DUP HAVE_STRNLEN HAVE_STRPBRK HAVE_STRSIGNAL HAVE_STRTOK_R HAVE_STRTOL HAVE_STRTOLL HAVE_STRTOQ HAVE_STRTOUL HAVE_STRTOULL HAVE_STRTOUQ HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TICKET_POINTER_IN_KRB5_AP_REQ HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_UNSETENV HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VA_COPY HAVE_VOLATILE HAVE_V...
2005 Oct 19
1
samba with ADS. winbindd ignore for user authentication
...ST_BLKSIZE HAVE_STAT_ST_BLOCKS HAVE_STRCASECMP HAVE_STRCHR HAVE_STRDUP HAVE_STRERROR HAVE_STRFTIME HAVE_STRLCAT HAVE_STRLCPY HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__CHDI...
2005 May 18
1
Samba Comple Problem on Solaris 2.8
...IZE HAVE_STAT_ST_BLOCKS HAVE_STRCASECMP HAVE_STRCHR HAVE_STRDUP HAVE_STRERROR HAVE_STRFTIME HAVE_STRLCAT HAVE_STRLCPY HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_STAT_ST_RDEV HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_UNIXSOCKET HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_UX_UT_SYSLEN HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_YP_GET_DEFAULT_DOMAIN HAVE__ACL HAVE__CHDIR...
2005 May 07
0
force group broken in 3.0.14?
...HAVE_STAT_ST_BLKSIZE HAVE_STAT_ST_BLOCKS HAVE_STRCASECMP HAVE_STRCHR HAVE_STRDUP HAVE_STRERROR HAVE_STRFTIME HAVE_STRNDUP HAVE_STRNLEN HAVE_STRPBRK HAVE_STRTOUL HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_STAT_ST_RDEV HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCALL HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VA_COPY HAVE_VOLATILE HAVE_VSNPRINTF HAVE_VSNPRINTF_DECL HAVE_VSYSLOG HAVE_WAITPID HAVE_XF...
2017 Jun 08
0
2nd try: Lots of RPC-related compile errors (conflicting types, too many arguments, ...) trying to update Samba from 3.5 to 4.6
...HAVE_STRUCT_IFADDRS HAVE_STRUCT_SIGEVENT HAVE_STRUCT_SIGEVENT_SIGEV_VALUE_SIVAL_PTR HAVE_STRUCT_SOCKADDR HAVE_STRUCT_SOCKADDR_IN6 HAVE_STRUCT_SOCKADDR_STORAGE HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TEXTDOMAIN HAVE_TICKET_POINTER_IN_KRB5_AP_REQ HAVE_TIMEGM HAVE_UINTPTR_T HAVE_UNIXSOCKET HAVE_UNSETENV HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMENSAT HAVE_UTIMES HAVE_VASPRINTF HAVE_VA...
2003 Dec 30
8
[Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
http://bugzilla.mindrot.org/show_bug.cgi?id=651 ------- Additional Comments From vikashb at comparexafrica.co.za 2003-12-30 16:39 ------- tried openssh-SNAP-20031223 does not compile: (cd openbsd-compat && make) gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/ssl/include -Dftruncate=chsize -I/usr/local/include -DHAVE_CONFIG_H -c
2003 Feb 11
1
Problems configuring OpenSSH 3.5p1 on Sol 5.8
...ID 1 #define HAVE_SETEUID 1 #define HAVE_SETGROUPS 1 #define HAVE_SETREUID 1 #define HAVE_SETRLIMIT 1 #define HAVE_SETSID 1 #define HAVE_SETVBUF 1 #define HAVE_SIGACTION 1 #define HAVE_SNPRINTF 1 #define HAVE_SOCKETPAIR 1 #define HAVE_STRERROR 1 #define HAVE_STRLCAT 1 #define HAVE_STRLCPY 1 #define HAVE_SYSCONF 1 #define HAVE_TCGETPGRP 1 #define HAVE_TRUNCATE 1 #define HAVE_UTIMES 1 #define HAVE_VHANGUP 1 #define HAVE_VSNPRINTF 1 #define HAVE_WAITPID 1 #define HAVE_DIRNAME 1 #define HAVE_LIBGEN_H 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_TIME 1 #define HAVE_ENDUTENT 1 #define HAVE_GETUTENT 1 #define HAVE...
2007 Jun 05
1
Samba unable to connect to ldap
...DUP HAVE_STRNLEN HAVE_STRPBRK HAVE_STRSIGNAL HAVE_STRTOK_R HAVE_STRTOL HAVE_STRTOLL HAVE_STRTOQ HAVE_STRTOUL HAVE_STRTOULL HAVE_STRTOUQ HAVE_STRUCT_DIRENT64 HAVE_STRUCT_FLOCK64 HAVE_STRUCT_STAT_ST_RDEV HAVE_STRUCT_TIMESPEC HAVE_ST_RDEV HAVE_SYMLINK HAVE_SYSCONF HAVE_SYSLOG HAVE_SYS_QUOTAS HAVE_TICKET_POINTER_IN_KRB5_AP_REQ HAVE_TIMEGM HAVE_UNIXSOCKET HAVE_UNSETENV HAVE_UPDWTMP HAVE_UPDWTMPX HAVE_USLEEP HAVE_UTIMBUF HAVE_UTIME HAVE_UTIMES HAVE_VASPRINTF HAVE_VASPRINTF_DECL HAVE_VA_COPY HAVE_VOLATILE HAVE_V...
2015 Feb 03
2
Fwd: Waiting for Reply regarding "TestCases Failure"
---------- Forwarded message ---------- From: Saad Ahmed <ch.saad.ahmed at gmail.com> Date: 3 February 2015 at 21:10 Subject: Waiting for Reply regarding "TestCases Failure" To: Xapian Development <xapian-devel at lists.xapian.org> I have been waiting for reply regarding any further steps to take. Following are the outputs of commands that you asked me to run. All these
2004 Jul 10
2
Solaris username character limit issues.
Hello, I've compiled Samba 3.0.4 with Heimdal 0.6.2 and all of the other trimmings to join and ADS tree, which I have successfully done. Winbind correctly pulls all of the username and group information from the ADS tree and all is good. However... I seem to be running into a wall with the wonderful Solaris 8 character username / groupname limit. Usernames with spaces or names longer than