Home
last modified time | relevance | path

Searched refs:wrapper (Results 1 – 25 of 46) sorted by relevance

12

/glibc-2.36/io/
Dtst-open-tmpfile.c154 check_wrapper_flags_mode (const char *op, wrapper_func wrapper, in check_wrapper_flags_mode() argument
157 int fd = wrapper (path, flags | O_TMPFILE, mode); in check_wrapper_flags_mode()
234 check_wrapper_mode (const char *op, wrapper_func wrapper, in check_wrapper_mode() argument
237 check_wrapper_flags_mode (op, wrapper, path, O_WRONLY, mode); in check_wrapper_mode()
238 check_wrapper_flags_mode (op, wrapper, path, O_WRONLY | O_EXCL, mode); in check_wrapper_mode()
239 check_wrapper_flags_mode (op, wrapper, path, O_RDWR, mode); in check_wrapper_mode()
240 check_wrapper_flags_mode (op, wrapper, path, O_RDWR | O_EXCL, mode); in check_wrapper_mode()
245 check_wrapper (const char *op, wrapper_func wrapper, in check_wrapper() argument
249 check_wrapper_mode (op, wrapper, path, 0); in check_wrapper()
250 check_wrapper_mode (op, wrapper, path, 0640); in check_wrapper()
[all …]
/glibc-2.36/nss/
Dnss_action.c89 struct nss_action_list_wrapper *wrapper in __nss_action_allocate() local
90 = malloc (sizeof (*wrapper) + sizeof (*actions) * count); in __nss_action_allocate()
91 if (wrapper != NULL) in __nss_action_allocate()
93 wrapper->next = nss_actions; in __nss_action_allocate()
94 wrapper->count = count; in __nss_action_allocate()
95 memcpy (wrapper->actions, actions, sizeof (*actions) * count); in __nss_action_allocate()
96 nss_actions = wrapper; in __nss_action_allocate()
97 result = wrapper->actions; in __nss_action_allocate()
/glibc-2.36/elf/
Dtst-getauxval-static.c50 __typeof__ (getauxval_wrapper) *wrapper = ptr; in do_test() local
52 unsigned long inner_random = wrapper (AT_RANDOM, &inner_errno); in do_test()
56 TEST_COMPARE (wrapper (missing_auxv_type, &inner_errno), 0); in do_test()
59 TEST_COMPARE (getauxval (AT_HWCAP), wrapper (AT_HWCAP, &inner_errno)); in do_test()
60 TEST_COMPARE (getauxval (AT_HWCAP2), wrapper (AT_HWCAP2, &inner_errno)); in do_test()
DMakefile2943 "$(test-wrapper-env) $(elf-objpfx)$(rtld-installed-name) \
/glibc-2.36/
DMakefile325 ENVVARSCMD="set exec-wrapper env $$ENVVARS"
561 tests-special += $(objpfx)check-wrapper-headers.out
562 $(objpfx)check-wrapper-headers.out: scripts/check-wrapper-headers.py $(headers)
613 for dso in `$(test-wrapper-env) LD_TRACE_LOADED_OBJECTS=1 \
620 $(test-wrapper) cp $$dso $(objpfx)testroot.pristine$$dso ;\
622 for dso in `$(test-wrapper-env) LD_TRACE_LOADED_OBJECTS=1 \
629 $(test-wrapper) cp $$dso $(objpfx)testroot.pristine$$dso ;\
DRules109 # Test that a wrapper header exists in include/ for each non-sysdeps header.
111 tests-special += $(objpfx)check-wrapper-headers.out
112 $(objpfx)check-wrapper-headers.out: \
113 $(..)scripts/check-wrapper-headers.py $(headers)
334 $(if $($*-ENV-only),$(test-wrapper-env-only) $($*-ENV-only),\
335 $(test-wrapper-env) $(run-program-env) $($*-ENV)) \
350 $(test-wrapper-env) $(run-program-env) $(run-via-rtld-prefix) \
388 $(test-wrapper-env) $(py-env) \
DMakeconfig705 ifndef test-wrapper
706 test-wrapper =
710 ifndef test-wrapper-env
711 test-wrapper-env = $(test-wrapper) env
715 ifndef test-wrapper-env-only
716 test-wrapper-env-only = $(test-wrapper) env -i
721 ifeq (yes|,$(cross-compiling)|$(test-wrapper))
767 run-program-prefix-before-env = $(test-wrapper-env)
777 built-program-cmd-before-env = $(test-wrapper-env)
822 test-program-prefix-before-env = $(test-wrapper-env)
[all …]
DINSTALL366 test-wrapper="SRCDIR/scripts/cross-test-ssh.sh HOSTNAME"', where SRCDIR
380 are serialized or provide a proper wrapper script for them.
387 In general, when testing the GNU C Library, 'test-wrapper' may be set
392 environment variables set, then 'test-wrapper-env' must be set to a
399 directly assigned, then 'test-wrapper-env-only' must be set; its use has
400 the same syntax as 'test-wrapper-env', the only difference in its
404 For AArch64 with SVE, when testing the GNU C Library, 'test-wrapper'
DNEWS153 [29069] libc: fstatat64_time64_statx wrapper broken on MIPS N32 with
854 [27902] libc: The x86-64 clone wrapper fails to align child stack
1748 [6399] libc: gettid() should have a wrapper
1856 * The getcpu wrapper function has been added, which returns the currently
2912 [21967] math: When 512-bit AVX2 wrapper functions in mathvec are used?
2974 the svid compat wrapper
2975 [22244] math: ynf and yn are wrong without the svid compat wrapper
3419 [21512] libc: clone() ends up calling exit_group() through _exit() wrapper
4536 [19408] libc: linux personality syscall wrapper may erroneously return an
/glibc-2.36/signal/
Dsigvec.c125 struct sigaction wrapper; in __sigvec() local
130 wrapper.sa_handler = sigvec_wrapper_handler; in __sigvec()
135 if (__sigaction (sig, &wrapper, &old) < 0) in __sigvec()
/glibc-2.36/sysdeps/unix/sysv/linux/mips/
Dsyscalls.list12 # Socket functions; Linux/MIPS doesn't use the socketcall(2) wrapper;
/glibc-2.36/scripts/
Dbuild-many-glibcs.py110 self.wrapper = os.path.join(self.builddir, 'wrapper')
596 commands = cmdlist.makefile_commands(self.wrapper, logsdir)
663 with open(self.wrapper, 'w') as f:
668 os.chmod(self.wrapper, mode_exec)
1797 def makefile_commands(self, wrapper, logsdir): argument
1826 prelims = [wrapper, prev_log, this_log, c.desc, dir, path]
/glibc-2.36/benchtests/
DMakefile333 run-bench = $(test-wrapper-env) \
437 { timing_type=$$($(test-wrapper-env) \
/glibc-2.36/posix/
DVersions113 # For syscall wrapper
/glibc-2.36/manual/
Dinstall.texi396 test-wrapper="@var{srcdir}/scripts/cross-test-ssh.sh @var{hostname}"},
414 are serialized or provide a proper wrapper script for them.
423 In general, when testing @theglibc{}, @samp{test-wrapper} may be set
427 descriptors. If @samp{@var{test-wrapper} env} will not work to run a
428 program with environment variables set, then @samp{test-wrapper-env}
434 Similarly, if @samp{@var{test-wrapper} env -i} will not work to run a
436 directly assigned, then @samp{test-wrapper-env-only} must be set; its
437 use has the same syntax as @samp{test-wrapper-env}, the only
441 For AArch64 with SVE, when testing @theglibc{}, @samp{test-wrapper}
DREADME.pretty-printers90 cross-test-ssh.sh as test-wrapper, like this:
92 make test-wrapper='/path/to/scripts/cross-test-ssh.sh user@host' check
Dmaint.texi212 have two definitions: a 64-bit one, and a 32-bit one which is a wrapper
294 The 32-bit-time implementation is a wrapper and is only compiled for
Dmessage.texi1650 the following little wrapper function is used, everything works just
1719 There is only one more comment to make left. The wrapper function above
Dthreads.texi734 wrapper function for the actual thread start routine). It may be
/glibc-2.36/mach/
DMachrules57 # Putting CC in the enivronment makes the mig wrapper script
/glibc-2.36/math/
DMakefile593 run-regen-ulps = $(test-wrapper-env) \
/glibc-2.36/ChangeLog.old/
DChangeLog.nptl763 * Makefile ($(objpfx)tst-tls6.out): Pass $(test-wrapper-env) to
3941 (lll_futex_wait): Add private argument, define as wrapper around
3951 (lll_futex_wait): Add private argument, define as wrapper around
3966 (lll_futex_wait): Add private argument, define as wrapper around
3984 (lll_futex_wait): Add private argument, define as wrapper around
4017 (lll_futex_wait): Define as a wrapper around lll_futex_timed_wait.
4021 lll_private_futex_wake): Define as wrapper around non-_private
4027 lll_private_futex_wake): Define as wrapper around non-_private
6372 and define a wrapper macro.
7325 (lll_mutex_cond_trylock): Define as wrapper around __lll_cond_trylock.
[all …]
DChangeLog.61056 Rename ustat to s_ustat since wrapper is needed.
1616 * elf/dlfcn.h: Add extern "C" wrapper.
4706 simply a wrapper around the <linux/elfcore.h> file since the
5168 * misc/Makefile: Kill force-wrapper.
5169 * misc/force-wrapper.c: Delete.
5464 * misc/Makefile: Only compile force-wrapper when compiling
5473 * misc/Makefile (routines): Add force-wrapper.
5474 * misc/force-wrapper.c: New file.
8878 * dlfcn.h, db.h: New wrapper headers.
9269 * sys/socket.h: New file, wrapper for socket/sys/socket.h.
[all …]
DChangeLog.141023 * wcsmbs/mbsrtowcs.c: Just a wrapper around __mbsrtowcs_l.
1035 wrapper around __vstrfmon_l.
1038 * stdlib/strtod.c: Move real code to strtod_l.c and add wrapper.
1044 * string/strcoll.c: Move real code to strcoll_l.c: Add wrapper.
1046 * string/strxfrm.c: Move real code to strxfrm_l.c: Add wrapper.
1067 * time/strftime.c: Move real code to strftime_l.c. Add wrapper.
1069 * time/strptime.c: Move real code to strptime_l.c. Add wrapper.
1932 build the code by removing __USING_SJLJ_EXCEPTIONS__ wrapper.
8036 * libio/strops.c (_IO_str_init_static): Change into a wrapper around
15469 * sysdeps/posix/sigvec.c [SA_RESETHAND]: Disable wrapper hacks and
[all …]
DChangeLog.173597 * posix/execvp.c: Now only a wrapper. Move code to...
3916 guard __extern_inline wrapper with __USE_ATFILE instead of __USE_GNU.
6314 * sunrpc/clnt_udp.h (clntudp_bufcreate): Now a wrapper around
8388 * stdlib/msort.c (qsort): Now a wrapper around qsort_r.
8555 (_nss_dns_getnetbyaddr_r): Now a wrapper around
8565 __gethostbyaddr_r compatibility wrapper.
8576 Add compat wrapper.
8584 (__nss_next): Now wrapper around __nss_next2.
8760 (my_strftime): New wrapper, old function renamed to...
14760 (inet6_option_alloc): Now a simple wrapper around option_alloc.

12