1/*
2 * Copyright (c) 2007, 2008, 2009, 2011, ETH Zurich.
3 * All rights reserved.
4 *
5 * This file is distributed under the terms in the attached LICENSE file.
6 * If you do not find this file, copies can be found by writing to:
7 * ETH Zurich D-INFK, Haldeneggsteig 4, CH-8092 Zurich. Attn: Systems Group.
8 */
9
10#include <sys/stat.h>
11#include <barrelfish/barrelfish.h>
12#include <unistd.h>
13#include "posixcompat.h"
14
15int chmod(const char *path, mode_t mode)
16{
17    POSIXCOMPAT_DEBUG("Warning: chmod(\"%s\", %o) ignored\n", path, mode);
18    return 0;
19}
20
21int fchmod(int fd, mode_t mode)
22{
23    POSIXCOMPAT_DEBUG("Warning: fchmod(%d, %o) ignored\n", fd, mode);
24    return 0;
25}
26
27int chown(const char *path, uid_t owner, gid_t group)
28{
29    POSIXCOMPAT_DEBUG("Warning: chown(\"%s\", %d, %d) ignored\n",
30                      path, owner, group);
31    return 0;
32}
33
34int fchown(int fd, uid_t owner, gid_t group)
35{
36    POSIXCOMPAT_DEBUG("Warning: chown(%d, %d, %d) ignored\n",
37                      fd, owner, group);
38    return 0;
39}
40