Mirror of strace – the linux syscall tracer
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

sparc.c 489B

1234567891011121314151617181920212223242526
  1. /*
  2. * SPARC-specific syscall decoders.
  3. *
  4. * Copyright (c) 2018 The strace developers.
  5. * All rights reserved.
  6. *
  7. * SPDX-License-Identifier: LGPL-2.1-or-later
  8. */
  9. #include "defs.h"
  10. #if defined SPARC || defined SPARC64
  11. # include "xlat/sparc_kern_features.h"
  12. SYS_FUNC(kern_features)
  13. {
  14. if (entering(tcp) || syserror(tcp))
  15. return 0;
  16. tcp->auxstr = sprintflags("", sparc_kern_features,
  17. (kernel_ulong_t) tcp->u_rval);
  18. return RVAL_HEX | RVAL_STR;
  19. }
  20. #endif /* SPARC || SPARC64 */