!394 fix apis: setrlimit,gethostname,gethostid
Merge pull request !394 from wcc/misc
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
#ifdef LOSCFG_SECURITY_VID
|
||||
#include "vid_type.h"
|
||||
#endif
|
||||
#include "sys/resource.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if __cplusplus
|
||||
@@ -126,6 +127,7 @@ typedef struct ProcessCB {
|
||||
#ifdef LOSCFG_KERNEL_CPUP
|
||||
OsCpupBase processCpup; /**< Process cpu usage */
|
||||
#endif
|
||||
struct rlimit pl_rlimit[RLIM_NLIMITS];
|
||||
} LosProcessCB;
|
||||
|
||||
#define CLONE_VM 0x00000100
|
||||
|
||||
Reference in New Issue
Block a user