I hope additional mention this issue.

it's seems to side about bellow commit at art.
https://android.googlesource.com/platform/art/+/b9001abff3a45f1ae90536da7dd1ec28a6ae0174%5E!/

please check this log.
06-11 06:47:13.098  1049  1563 W art     : Long monitor contention event
with owner method=android.content.pm.PackageParser$Package
com.android.server.pm.PackageManagerService.scanPackageDirtyLI(android.content.pm.PackageParser$Package,
06-11 06:47:13.098  1049  1559 W art     : Long monitor contention event
with owner method=android.content.pm.PackageParser$Package
com.android.server.pm.PackageManagerService.scanPackageDirtyLI(android.content.pm.PackageParser$Package,
06-11 06:47:13.148  1049  1049 D PackageManager: No files in app dir
/system/vendor/app
06-11 06:47:13.158  1049  1049 D PackageManager: No files in app dir
/oem/app
06-11 06:47:13.158  1049  1049 D PackageManager: No files in app dir
/data/app-system
06-11 06:47:13.218  1049  1574 I SELinux : SELinux: Loaded file_contexts
from /file_contexts
06-11 06:47:13.218  1049  1573 F libc    : Fatal signal 11 (SIGSEGV), code
2, fault addr 0x2f6d6578 in tid 1573 (pool-5-thread-1)
06-11 06:47:13.218   316   316 E USB_UICC: Timeout! No signal received.
Retry num = 13
06-11 06:47:13.358   304   304 I DEBUG   : [2015-06-11 06:47:13.371]
06-11 06:47:13.35

please check this commit also.

2015-02-24 8:54 GMT+09:00 심현용 <jonesn5...@gmail.com>:

> Dear Stephen.
>
> I have some question restorecon api.
>
> When I create file like that
> $ touch "test<space enter>
> newline"
>
> that file doesn't work restorecon..
>
> For example, Google docs app (com.google.android.apps.docs) create these
> files(thumbnail file) like bellows.
>
> /data/data/com.google.android.apps.docs/cache/diskCache/fetching/accountCache_1$
> ls
> thumbnail-510-384-d_downloaded_image_am9uZXNuNTUwOEBnbWFpbC5jb20tZGI6Mw==
> _1404878698133
> thumbnail-510-384-d_downloaded_image_am9uZXNuNTUwOEBnbWFpbC5jb20tZGI6NA==
> _1402378046571
> thumbnail-510-384-d_downloaded_image_am9uZXNuNTUwOEBnbWFpbC5jb20tZGI6Ng==
> _1324189493087
> thumbnail-510-384-d_downloaded_image_am9uZXNuNTUwOEBnbWFpbC5jb20tZGI6Nw==
> _1320481847143
> thumbnail-510-384-d_downloaded_image_am9uZXNuNTUwOEBnbWFpbC5jb20tZGI6OA==
> _1320481776981
> thumbnail-510-384-d_downloaded_image_am9uZXNuNTUwOEBnbWFpbC5jb20tZGI6OQ==
> _1314508429262
>
> (new line involve)
>
> Before SELinux enable(Android JB version), these files would be unlabeled.
> That files doesn't change when upgrade (JB -> KK(SELinux Enable) -> L OS)
> because restorecon doesn't work these files(involve newline).
>
>
> Restorecon api doesn't work because of lookup_common() method (ret will
> return null!)
>
> external/libselinux/src/android.c
>
> static int restorecon_sb()
> ..
> if (selabel_lookup(sehandle, &secontext, pathname, sb->st_mode) < 0)
>         return 0
>
> ..
>
>
> // if input file name include "new line", i will be -1 because rc would be
> PCRE_ERROR_NOMATCH!
>
> external/libselinux/src/label_file.c
> static spec_t *lookup_common()
> ..
> if (i < 0 || strcmp(spec_arr[i].lr.ctx_raw, "<<none>>") == 0) {
> /* No matching specification. */
>         errno = ENOENT;
>         goto finish;
>     }
> ..
>
>
> What should I do?
> Please help this issue.
>
> Thanks.
>
_______________________________________________
Seandroid-list mailing list
Seandroid-list@tycho.nsa.gov
To unsubscribe, send email to seandroid-list-le...@tycho.nsa.gov.
To get help, send an email containing "help" to 
seandroid-list-requ...@tycho.nsa.gov.

Reply via email to