search for: seed48

Displaying 18 results from an estimated 18 matches for "seed48".

Did you mean: seed
2011 Jan 28
2
klibc 1.5.21-1 and mksh
...ibc-1.5.21/usr/include/stdlib.h 2011-01-28 12:00:36.000000000 +0000 +@@ -8,6 +8,7 @@ + #include <klibc/extern.h> + #include <klibc/compiler.h> + #include <stddef.h> ++#include <bitsize/stdint.h> + + #include <malloc.h> + +@@ -61,6 +62,11 @@ + __extern unsigned short *seed48(const unsigned short *); + __extern void srand48(long); + ++/* arc4random API emulation on top of jrand48 algorithm */ ++__extern uint32_t arc4random(void); ++__extern void arc4random_stir(void); ++__extern void arc4random_addrandom(unsigned char *, int); ++ + #define RAND_MAX 0x7fffffff + static...
2020 Jun 17
1
[PATCH] Kbuild for klibc and nfsmount: add -fcommon
.../lrand48.c:8: first defined here ppc-linux-ld: usr/klibc/srand48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/srand48.c:8: multiple definition of `__rand48_seed'; usr/klibc/lrand48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/lrand48.c:8: first defined here ppc-linux-ld: usr/klibc/seed48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/seed48.c:9: multiple definition of `__rand48_seed'; usr/klibc/lrand48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/lrand48.c:8: first defined here make[2]: *** [usr/klibc/libc.so] Error 1 Signed-off-by: Christophe Leroy <christophe....
2007 Apr 12
2
[PATCH] Make com32 printf obey width-restriction on %s
...s the strnlen function, which only exists as a prototype today. -- Arne. --- syslinux-3.36/com32/lib/Makefile.orig 2007-02-10 21:47:07.000000000 +0100 +++ syslinux-3.36/com32/lib/Makefile 2007-04-12 12:06:07.000000000 +0200 @@ -11,7 +11,7 @@ perror.o printf.o puts.o qsort.o realloc.o seed48.o snprintf.o \ sprintf.o srand48.o sscanf.o stack.o strcasecmp.o strcat.o \ strchr.o strcmp.o strcpy.o strdup.o strerror.o strlen.o \ - strncasecmp.o strncat.o strncmp.o strncpy.o strndup.o \ + strncasecmp.o strncat.o strncmp.o strncpy.o strndup.o strnlen.o \ strntoimax.o strntoumax.o st...
2020 Jun 18
1
[PATCH] Kbuild for klibc and nfsmount: fix multiple definitions
.../lrand48.c:8: first defined here ppc-linux-ld: usr/klibc/srand48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/srand48.c:8: multiple definition of `__rand48_seed'; usr/klibc/lrand48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/lrand48.c:8: first defined here ppc-linux-ld: usr/klibc/seed48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/seed48.c:9: multiple definition of `__rand48_seed'; usr/klibc/lrand48.o:/root/ldb_base/ofl/packages/klibc-2.0.7/usr/klibc/lrand48.c:8: first defined here make[2]: *** [usr/klibc/libc.so] Error 1 This is due to some variable defined several ti...
2016 Jan 06
0
[klibc:master] Remove obsolete getpt() function
...scandir.o alphasort.o remove.o \ - syslog.o closelog.o pty.o getpt.o posix_openpt.o isatty.o reboot.o \ + syslog.o closelog.o pty.o posix_openpt.o isatty.o reboot.o \ time.o utime.o lseek.o nice.o getpriority.o \ qsort.o bsearch.o \ lrand48.o jrand48.o mrand48.o nrand48.o srand48.o seed48.o \ diff --git a/usr/klibc/getpt.c b/usr/klibc/getpt.c deleted file mode 100644 index 8d2a536..0000000 --- a/usr/klibc/getpt.c +++ /dev/null @@ -1,16 +0,0 @@ -/* - * getpt.c - * - * GNU extension to the standard Unix98 pty suite - */ - -#include <stdio.h> -#include <stdlib.h> -#include...
2016 Jan 27
0
[klibc:master] Make posix_openpt() an inline
...getopt_long.o readdir.o scandir.o alphasort.o remove.o \ - syslog.o closelog.o pty.o posix_openpt.o isatty.o reboot.o \ + syslog.o closelog.o pty.o isatty.o reboot.o \ time.o utime.o lseek.o nice.o getpriority.o \ qsort.o bsearch.o \ lrand48.o jrand48.o mrand48.o nrand48.o srand48.o seed48.o \ diff --git a/usr/klibc/posix_openpt.c b/usr/klibc/posix_openpt.c deleted file mode 100644 index 794ca46..0000000 --- a/usr/klibc/posix_openpt.c +++ /dev/null @@ -1,14 +0,0 @@ -/* - * posix_openpt.c - */ - -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> -#include...
2008 Aug 16
1
Minimal COM32 Root Module
...o LIBOTHER_OBJS = \ abort.o atexit.o atoi.o atol.o atoll.o calloc.o creat.o \ ctypes.o \ putchar.o setjmp.o \ fread2.o fwrite2.o getopt.o \ lrand48.o memccpy.o memchr.o memcmp.o \ memcpy.o mempcpy.o memmem.o memmove.o memset.o memswap.o \ exit.o onexit.o \ perror.o qsort.o realloc.o seed48.o snprintf.o \ sprintf.o srand48.o sscanf.o strcasecmp.o \ strdup.o strerror.o strlen.o \ strnlen.o \ strncasecmp.o strncat.o strncmp.o strndup.o \ stpcpy.o stpncpy.o \ strntoimax.o strntoumax.o strrchr.o strstr.o \ strtoimax.o strtol.o strtoll.o strtoul.o strtoull.o \ strt...
2016 Jan 06
0
[klibc:master] Add accept4(), handle fallback from accept () to accept4()
...__extern int socketpair(int, int, int, int *); diff --git a/usr/klibc/Kbuild b/usr/klibc/Kbuild index 5521038..f797166 100644 --- a/usr/klibc/Kbuild +++ b/usr/klibc/Kbuild @@ -58,7 +58,7 @@ klib-y += vsnprintf.o snprintf.o vsprintf.o sprintf.o \ lrand48.o jrand48.o mrand48.o nrand48.o srand48.o seed48.o \ inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \ inet/inet_ntop.o inet/inet_pton.o inet/bindresvport.o \ - send.o recv.o \ + accept.o send.o recv.o \ access.o chmod.o chown.o dup2.o mknod.o poll.o rename.o stat.o \ lchown.o link.o rmdir.o unlink.o utimes.o lstat.o mkdir....
2007 Aug 15
0
[git patch] fstype support + minor stuff
...v.o putenv.o __put_env.o unsetenv.o \ - clearenv.o nullenv.o \ - getopt.o getopt_long.o readdir.o remove.o \ - syslog.o closelog.o pty.o getpt.o isatty.o reboot.o \ - time.o utime.o llseek.o nice.o getpriority.o \ - qsort.o bsearch.o \ - lrand48.o jrand48.o mrand48.o nrand48.o srand48.o seed48.o \ - inet/inet_ntoa.o inet/inet_aton.o inet/inet_addr.o \ - inet/inet_ntop.o inet/inet_pton.o inet/bindresvport.o \ - send.o recv.o \ - ctype/isalnum.o ctype/isalpha.o ctype/isascii.o \ - ctype/isblank.o ctype/iscntrl.o ctype/isdigit.o \ - ctype/isgraph.o ctype/islower.o ctype/isprint....
2023 Jan 26
0
[klibc:time64] time: Use clock_* system calls for time-of-day and sleep
...ort.o remove.o \ syslog.o closelog.o pty.o isatty.o reboot.o \ - time.o lseek.o nice.o getpriority.o \ + gettimeofday.o settimeofday.o time.o \ + lseek.o nice.o getpriority.o \ futimesat.o utime.o utimes.o \ qsort.o bsearch.o \ lrand48.o jrand48.o mrand48.o nrand48.o srand48.o seed48.o \ diff --git a/usr/klibc/SYSCALLS.def b/usr/klibc/SYSCALLS.def index ad8eefa4..d46bb548 100644 --- a/usr/klibc/SYSCALLS.def +++ b/usr/klibc/SYSCALLS.def @@ -201,11 +201,12 @@ int setitimer(int, const struct itimerval *, struct itimerval *); /* * Time-related system calls */ -<?> time_t...
2010 Feb 02
0
build failures with 2.6.33-rc
...ng. Any pointers would be grealy appreciated, Kevin [1] http://www.zytor.com/pipermail/klibc/2009-September/002457.html [2] http://www.zytor.com/pipermail/klibc/2010-January/002472.html [3] build log on ARM: [...] KLIBCCC usr/klibc/nrand48.o KLIBCCC usr/klibc/srand48.o KLIBCCC usr/klibc/seed48.o KLIBCCC usr/klibc/inet/inet_ntoa.o In file included from usr/klibc/../include/netinet/in.h:11, from usr/klibc/../include/arpa/inet.h:11, from usr/klibc/inet/inet_ntoa.c:6: usr/klibc/../include/sys/socket.h:49: warning: 'struct msghdr' declared inside pa...
2012 Jan 29
5
[PATCH 0/2 v3] mkstemp() and m68k support
Hi, after a year, I decided to hack on klibc again. I?ve reworked both the patch to add mkstemp(), discussing to use AT_RANDOM as cheap entropy source on IRC (if there will ever be another entropy consumer, I can quickly write a minimal arc4random() seeded from it, as it has only 16 octets), capable of making a working mksh (static and shared) on amd64/xen, and the m68k support code, leading to
2012 Mar 23
19
[PATCH 00/19][elflink] Improve compatibility with 4.x
From: Matt Fleming <matt.fleming at intel.com> The following patch series is available at, git://git.zytor.com/users/mfleming/syslinux.git elflink All patches are against the 'elflink' branch. This series fixes a few serious bugs and some behavioural incompatibilities with the 4.x series. Matt Fleming (19): ldlinux: Initialise 'p' before using it. ldlinux: Parse
2013 Aug 21
0
Build problems: klibc with Linux 3.10.7
...trunk/knl/linux/usr//include -I/root/gen/trunk/knl/linux/usr//arch/powerpc/include -D__KLIBC__=2 -D__KLIBC_MINOR__=0 -D_BITSIZE=32 -fno-stack-protector -fwrapv -m32 -Os -W -Wall -Wno-sign-compare -Wno-unused-parameter -c -o usr/klibc/srand48.o usr/klibc/srand48.c ppc-linux-gcc -Wp,-MD,usr/klibc/.seed48.o.d -nostdinc -iwithprefix include -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/arch/ppc -Iusr/include/arch/ppc -I/root/ofs/trunk/packages/klibc-2.0.2/usr/include/bits32 -Iusr/include/bits32 -I/root/ofs/trunk/packages/klibc-2.0.2/usr/klibc/../include -Iusr/klibc/../include -I/root/ofs/trunk/...
2013 Aug 21
5
Build problems: klibc with Linux 3.10.7
On Tue, Aug 20, 2013 at 07:44:39AM +0200, leroy christophe wrote: > > > Find attached two patches I have in order to build klibc 2.0.2 > against kernel 3.8.13 > We had to introduce those patches when going from kernel 3.6 to kernel 3.7 > Hope it helps. > those patches are wrong and again very brittle. just use the way it is described in `make help': A) cd ~/src/linux
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
...ull__ (1))); extern long int mrand48 (void) __attribute__ ((__nothrow__)); extern long int jrand48 (unsigned short int __xsubi[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void srand48 (long int __seedval) __attribute__ ((__nothrow__)); extern unsigned short int *seed48 (unsigned short int __seed16v[3]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); extern void lcong48 (unsigned short int __param[7]) __attribute__ ((__nothrow__)) __attribute__ ((__nonnull__ (1))); struct drand48_data { unsigned short int __x[3]; unsigned short int...
2006 Jun 28
35
[klibc 00/31] klibc as a historyless patchset (updated and reorganized)
I have updated the klibc patchset based on feedback received. In particular, the patchset has been reorganized so as not to break git-bisect. Additionally, this updates the patch base to 2.6.17-git12 (d38b69689c349f35502b92e20dafb30c62d49d63) and klibc 1.4.8; the main difference on the klibc side is removal of obsolete code. This is also available as a git tree at: