commit
37162aafb6
|
@ -488,7 +488,7 @@ UINT32 OsDevLimitWriteDeny(ProcLimitSet *plimit, const CHAR *buf, UINT32 size)
|
|||
STATIC VOID DevLimitItemSetAccess(CHAR *accArray, INT16 access)
|
||||
{
|
||||
INT32 index = 0;
|
||||
(VOID)memset_s(acc, ACCLEN, 0, ACCLEN);
|
||||
(VOID)memset_s(accArray, ACCLEN, 0, ACCLEN);
|
||||
if (access & DEVLIMIT_ACC_READ) {
|
||||
accArray[index] = 'r';
|
||||
index++;
|
||||
|
|
|
@ -124,6 +124,11 @@ LITEOS_BASELIB += -lcommon
|
|||
LIB_SUBDIRS += kernel/common
|
||||
LITEOS_KERNEL_INCLUDE += -I $(LITEOSTOPDIR)/kernel/common
|
||||
|
||||
ifeq ($(LOSCFG_KERNEL_CONTAINER), y)
|
||||
LITEOS_BASELIB += -lcontainer
|
||||
LIB_SUBDIRS += kernel/extended/container
|
||||
endif
|
||||
|
||||
ifeq ($(LOSCFG_KERNEL_CPPSUPPORT), y)
|
||||
LITEOS_BASELIB += -lcppsupport
|
||||
LIB_SUBDIRS += kernel/extended/cppsupport
|
||||
|
|
Loading…
Reference in New Issue