2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 #include "__arosc_privdata.h"
8 #include <aros/symbolsets.h>
12 #warning FIXME: Implement umask() properly
14 /*****************************************************************************
39 ******************************************************************************/
41 mode_t oumask
= __umask
;
48 static int __umask_init(void)
50 struct arosc_privdata
*privdata
= __get_arosc_privdata();
52 if (privdata
->acpd_oldprivdata
)
53 privdata
->acpd_umask
= privdata
->acpd_oldprivdata
->acpd_umask
;
55 privdata
->acpd_umask
= S_IWGRP
|S_IWOTH
;
60 ADD2INIT(__umask_init
, 0);