1/*
2 * Copyright 2016, Data61
3 * Commonwealth Scientific and Industrial Research Organisation (CSIRO)
4 * ABN 41 687 119 230.
5 *
6 * This software may be distributed and modified according to the terms of
7 * the BSD 2-Clause license. Note that NO WARRANTY is provided.
8 * See "LICENSE_BSD2.txt" for details.
9 *
10 * @TAG(D61_BSD)
11 */
12
13#include <stdio.h>
14#include <stdint.h>
15#include <stdarg.h>
16#include <sys/types.h>
17#include <sys/stat.h>
18
19long sys_getpid(va_list ap) {
20    /* Ignored stub. */
21    return 0;
22}
23
24long sys_umask(va_list ap) {
25    /* Ignored stub. */
26    return (S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP | S_IROTH | S_IWOTH);
27}
28
29long sys_rt_sigaction(va_list ap) {
30    /* Ignored stub. */
31    return 0;
32}
33
34long sys_fcntl64(va_list ap) {
35    /* Ignored stub. */
36    return 0;
37}