Home
last modified time | relevance | path

Searched refs:ctx (Results 1 – 8 of 8) sorted by relevance

/coreutils/src/
Dbasenc.c280 } ctx; member
284 static void (*base_decode_ctx_init) (struct base_decode_context *ctx);
285 static bool (*base_decode_ctx) (struct base_decode_context *ctx,
302 base64_decode_ctx_init_wrapper (struct base_decode_context *ctx) in base64_decode_ctx_init_wrapper() argument
304 base64_decode_ctx_init (&ctx->ctx.base64); in base64_decode_ctx_init_wrapper()
308 base64_decode_ctx_wrapper (struct base_decode_context *ctx, in base64_decode_ctx_wrapper() argument
312 bool b = base64_decode_ctx (&ctx->ctx.base64, in, inlen, out, outlen); in base64_decode_ctx_wrapper()
313 ctx->i = ctx->ctx.base64.i; in base64_decode_ctx_wrapper()
318 init_inbuf (struct base_decode_context *ctx) in init_inbuf() argument
320 ctx->bufsize = DEC_BLOCKSIZE; in init_inbuf()
[all …]
Dcopy.c703 copy_attr_error (MAYBE_UNUSED struct error_context *ctx, in copy_attr_error() argument
720 copy_attr_allerror (MAYBE_UNUSED struct error_context *ctx, in copy_attr_allerror() argument
733 copy_attr_quote (MAYBE_UNUSED struct error_context *ctx, char const *str) in copy_attr_quote() argument
739 copy_attr_free (MAYBE_UNUSED struct error_context *ctx, in copy_attr_free() argument
750 check_selinux_attr (char const *name, struct error_context *ctx) in check_selinux_attr() argument
753 && attr_copy_check_permissions (name, ctx); in check_selinux_attr()
774 struct error_context *ctx in copy_attr() local
787 ? attr_copy_fd (src_path, src_fd, dst_path, dst_fd, check, ctx) in copy_attr()
788 : attr_copy_file (src_path, dst_path, check, ctx)); in copy_attr()
/coreutils/tests/misc/
Dselinux.sh33 ctx='root:object_r:tmp_t'
34 mls_enabled_ && ctx="$ctx:s0"
36 chcon $ctx f d p || skip_ "Failed to set context: $ctx"
40 c=$(ls -dogZ $i|cut -d' ' -f3); test x$c = x$ctx || fail=1
41 c=$(stat --printf %C $i); test x$c = x$ctx || fail=1
56 c=$(stat --printf %C s1/$i); test x$c = x$ctx || fail=1
62 c=$(stat --printf %C s2/$i); test x$c = x$ctx || fail=1
/coreutils/tests/cp/
Dcp-a-selinux.sh31 ctx='root:object_r:tmp_t'
32 mls_enabled_ && ctx="$ctx:s0"
36 chcon $ctx c || skip_ "Failed to set context: $ctx"
40 ls -Z d | grep $ctx || fail=1
43 ls -Z e | grep $ctx || fail=1
44 ls -Z f | grep $ctx || fail=1
53 grep $ctx ed_ctx && framework_failure_
55 chcon $ctx backup/existing_dir/file || framework_failure_
57 mkdir -p --context="$ctx" restore/existing_dir || framework_failure_
61 grep $ctx ed_ctx &&
[all …]
/coreutils/tests/install/
Dinstall-Z-selinux.sh25 ctx='root:object_r:tmp_t'
26 mls_enabled_ && ctx="$ctx:s0"
27 chcon "$ctx" subdir || skip_ "Failed to set context: $ctx"
/coreutils/tests/mkdir/
Drestorecon.sh24 ctx='root:object_r:tmp_t'
25 mls_enabled_ && ctx="$ctx:s0"
26 chcon "$ctx" subdir || skip_ "Failed to set context: $ctx"
/coreutils/tests/chcon/
Dchcon.sh37 ctx=$u1:$r1:$t1:$range
38 chcon $ctx f || skip_ "Failed to set context: $ctx"
61 f|$ctx
62 g|$ctx
/coreutils/tests/
Dlocal.mk175 tests/cp/no-ctx.sh \