mirror of
https://gitee.com/openharmony/startup_appspawn
synced 2024-11-23 07:00:17 +00:00
commit
8754d28edd
@ -67,7 +67,7 @@ static int WriteEncapsInfo(int fd, AppSpawnEncapsBaseType encapsType, const char
|
||||
|
||||
int ret = 0;
|
||||
switch (encapsType) {
|
||||
case ENCAPS_MAX_TYPE_MODE:
|
||||
case ENCAPS_PROC_TYPE_MODE:
|
||||
ret = ioctl(fd, SET_ENCAPS_PROC_TYPE_CMD, &flag);
|
||||
break;
|
||||
case ENCAPS_PERMISSION_TYPE_MODE:
|
||||
|
Loading…
Reference in New Issue
Block a user