search for: __s

Displaying 20 results from an estimated 34 matches for "__s".

Did you mean: __s8
2020 Mar 13
1
Asterisk 16, 9.0 - res_rtp_asterisk compilation error
...cluded from /usr/include/stdio.h:873,                  from /usr/src/asterisk-16.9.0/include/asterisk/compat.h:49,                  from /usr/src/asterisk-16.9.0/include/asterisk.h:22,                  from app_osplookup.c:37: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 4 or more bytes (assuming 259) into a destination of size 256    return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~         __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
2004 Oct 19
1
[PATCH] fix fwrite declaration
...there a reason for the difference? diff -p -purN klibc-0.186/include/stdio.h klibc-0.186.fwrite/include/stdio.h --- klibc-0.186/include/stdio.h 2004-07-28 23:09:59.000000000 +0200 +++ klibc-0.186.fwrite/include/stdio.h 2004-10-19 20:06:30.000000000 +0200 @@ -90,7 +90,7 @@ fread(void *__p, size_t __s, size_t __n, } extern __inline__ size_t -fwrite(void *__p, size_t __s, size_t __n, FILE *__f) +fwrite(const void *__p, size_t __s, size_t __n, FILE *__f) { return _fwrite(__p, __s*__n, __f)/__s; } -- USB is for mice, FireWire is for men! sUse lINUX ag, n?RNBERG
2018 Oct 11
13
Call for testing: OpenSSH 7.9
Hi, OpenSSH 7.9p1 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a bugfix release. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH is also available via git using the instructions at
2019 Oct 01
9
Call for testing: OpenSSH 8.1
Hi, OpenSSH 8.1p1 is almost ready for release, so we would appreciate testing on as many platforms and systems as possible. This is a bugfix release. Snapshot releases for portable OpenSSH are available from http://www.mindrot.org/openssh_snap/ The OpenBSD version is available in CVS HEAD: http://www.openbsd.org/anoncvs.html Portable OpenSSH is also available via git using the instructions at
2020 Jul 25
0
[klibc:master] stdio: Define all the _unlocked functions and macros
...int feof(FILE *); +__extern int feof_unlocked(FILE *); __extern int fileno(FILE *); +__extern int fileno_unlocked(FILE *); __extern void clearerr(FILE *); +__extern void clearerr_unlocked(FILE *); #ifndef __NO_STDIO_INLINES __extern_inline size_t @@ -104,33 +118,39 @@ fread(void *__p, size_t __s, size_t __n, FILE * __f) { return _fread(__p, __s * __n, __f) / __s; } +#define fread_unlocked(p, s, n, f) fread((p), (s), (n), (f)) __extern_inline size_t fwrite(const void *__p, size_t __s, size_t __n, FILE * __f) { return _fwrite(__p, __s * __n, __f) / __s; } +#define fwrite_unlocked...
2005 May 15
1
Compile problem on last CVS
...declared (first use in this function) chan_sip.c:10029: (Each undeclared identifier is reported only once chan_sip.c:10029: for each function it appears in.) chan_sip.c:10029: `mask' undeclared (first use in this function) chan_sip.c:10094: warning: type defaults to `int' in declaration of `__s' chan_sip.c:10094: warning: comparison of distinct pointer types lacks a cast chan_sip.c: In function `build_peer': chan_sip.c:10176: parse error before `struct' chan_sip.c:10221: `peerflags' undeclared (first use in this function) chan_sip.c:10221: `mask' undeclared (first use...
2015 Aug 11
3
libfuzzer questions
First off, thanks -- this is a pretty great library and it feels like I'm learning a lot. I'm getting some more experience with libfuzzer and finding that I have a couple of questions: - How does libfuzzer decide to write a new test file? What distinguishes this one from all the other cases for which new test inputs were not written? Must be something about the path taken through the
2015 Aug 11
3
libfuzzer questions
...help. :) > > Ok, that's good advice. -- -Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150811/0323f018/attachment.html> -------------- next part -------------- #0 atomic_exchange<__sanitizer::atomic_uint32_t> (mo=__sanitizer::memory_order_acquire, v=2, a=0x640000001290) #1 __sanitizer::BlockingMutex::Lock (this=this at entry=0x640000001290) at /home/brian/tmp/testing/llvm_src/llvm/projects/compiler-rt/lib/sanitizer_common/sanitizer_linux.cc:471 #2 0x0000000000447899 in Gen...
2020 Mar 13
2
Asterisk 16, 9.0 - res_rtp_asterisk compilation error
Hello, 2 asterisk servers 16.8.0 version running on Debian 10.3 On one of them, I can't compile asterisk having error    [CC] res_rtp_asterisk.c -> res_rtp_asterisk.o res_rtp_asterisk.c:2674:3: error: ‘pj_ice_sess_cb’ {aka ‘struct pj_ice_sess_cb’} has no member named ‘on_valid_pair’   .on_valid_pair = ast_rtp_on_valid_pair,    ^~~~~~~~~~~~~ res_rtp_asterisk.c:2674:19: warning:
2011 Feb 27
4
[PATCH] Add minimal mkstemp(3) implementation.
...++++ 3 files changed, 96 insertions(+), 1 deletions(-) create mode 100644 usr/klibc/mkstemp.c diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h index 406f446..4706f71 100644 --- a/usr/include/stdlib.h +++ b/usr/include/stdlib.h @@ -79,6 +79,8 @@ static __inline__ void srandom(unsigned int __s) srand48(__s); } +__extern int mkstemp(char *); + /* Basic PTY functions. These only work if devpts is mounted! */ __extern int unlockpt(int); diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index af40367..62a3268 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -18,7 +18,7 @@ kli...
2018 Jun 08
2
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
On Thu, Jun 07, 2018 at 06:14:42PM -0700, PGNet Dev wrote: > On 6/7/18 6:08 PM, Darren Tucker wrote: > > Well the intent is you should be able to set CC and LD to whatever you > > want as long as they work. In this case, the OSSH_CHECK_LDFLAG_LINK > > test invokes autoconf's AC_LINK_IFELSE with uses CC not LD. I'm not > > sure what to do about it yet though. I
2009 Dec 04
4
[LLVMdev] r72619
...getting it wrong. First of all, the constructor in question is defined outside of the basic_string class template as a non-inline definition: template<typename _CharT, typename _Traits, typename _Alloc> basic_string<_CharT, _Traits, _Alloc>:: basic_string(const _CharT* __s, const _Alloc& __a) Second, there is an explicit template instantiation declaration: extern template class basic_string<char>; That extern template instantiation declaration is supposed to suppress the implicit instantiation of non-inline member functions like that basic_strin...
2018 Jun 07
2
vanilla build of 7.7p1 release on linux/4.17 fails with gcc8 @ "/usr/bin/ld: unrecognized option '-Wl,-z,retpolineplt'"
...? xauthfile : "", ~~~~~~~~~ In file included from /usr/include/stdio.h:862, from /usr/include/bsd/libutil.h:46, from includes.h:141, from clientloop.c:62: /usr/include/bits/stdio2.h:64:10: note: ?__builtin___snprintf_chk? output 23 or more bytes (assuming 4118) into a destination of size 1024 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~...
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
...pedef long int __off64_t; typedef int __pid_t; typedef struct { int __val[2]; } __fsid_t; typedef long int __clock_t; typedef unsigned long int __rlim_t; typedef unsigned long int __rlim64_t; typedef unsigned int __id_t; typedef long int __time_t; typedef unsigned int __useconds_t; typedef long int __suseconds_t; typedef int __daddr_t; typedef long int __swblk_t; typedef int __key_t; typedef int __clockid_t; typedef void * __timer_t; typedef long int __blksize_t; typedef long int __blkcnt_t; typedef long int __blkcnt64_t; typedef unsigned long int __fsblkcnt_t; typedef unsigned long int __fsblkcn...
2009 Dec 04
0
[LLVMdev] r72619
...rst of all, the constructor in question is defined > outside of the basic_string class template as a non-inline definition: > > template<typename _CharT, typename _Traits, typename _Alloc> > basic_string<_CharT, _Traits, _Alloc>:: > basic_string(const _CharT* __s, const _Alloc& __a) > > Second, there is an explicit template instantiation declaration: > > extern template class basic_string<char>; > > That extern template instantiation declaration is supposed to suppress > the implicit instantiation of non-inline member...
2017 Jul 29
2
Storing "blockaddress(@function, %block)" in a global variable?
...y: https://llvm.org/docs/LangRef.html#addresses-of-basic-blocks But I wanted very much to save addresses of blocks in a global variable and so I did: % cat cond.c void foo(long *a) { if (a) *a = 0; } % clang -O1 -c cond.c -fsanitize-coverage=inline-8bit-counters,pc-table -S -o - -emit-llvm @__sancov_gen_.1 = private constant [3 x i8*] [i8* bitcast (void (i64*)* @foo to i8*), i8* blockaddress(@foo, %entry.if.end_crit_edge), i8* blockaddress(@foo, %if.then)], section "__sancov_pcs", align 8 Is this expected to work? If not, is it reasonable to try to make it work? This works alm...
2005 May 10
2
skype channel
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I just noticed that the Skype API for linux seems to be available. I've read before a number of posts where people were talking about implementing a chan_skype with the skype API. I wonder if there is any progress in that direction, and if anyone is working on it. /B - -- * GPG-Key: http://evil.gnarf.org/mrbk.pgp A: Because we read from top to
2016 Jan 06
0
[klibc:master] Remove obsolete getpt() function
...- usr/klibc/getpt.c | 16 ---------------- 3 files changed, 1 insertion(+), 18 deletions(-) diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h index 856c647..c2d6264 100644 --- a/usr/include/stdlib.h +++ b/usr/include/stdlib.h @@ -83,7 +83,6 @@ static __inline__ void srandom(unsigned int __s) __extern int unlockpt(int); __extern char *ptsname(int); -__extern int getpt(void); __extern int posix_openpt(int); static __inline__ int grantpt(int __fd) diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 7d95e87..5521038 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -52,7...
2016 Jan 27
0
[klibc:master] Make posix_openpt() an inline
...sr/klibc/posix_openpt.c | 14 -------------- 3 files changed, 9 insertions(+), 16 deletions(-) diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h index c2d6264..250755f 100644 --- a/usr/include/stdlib.h +++ b/usr/include/stdlib.h @@ -83,7 +83,14 @@ static __inline__ void srandom(unsigned int __s) __extern int unlockpt(int); __extern char *ptsname(int); -__extern int posix_openpt(int); + +static __inline__ int posix_openpt(int __mode) +{ + __extern int open(const char *, int, ...); + + __mode &= ~(O_CREAT | O_TMPFILE); + return open("/dev/ptmx", __mode); +} static __inl...