Skip to content
This repository was archived by the owner on Jun 18, 2018. It is now read-only.
This repository was archived by the owner on Jun 18, 2018. It is now read-only.

Sytax Error #182

@Pxddy

Description

@Pxddy

Hi,
I'm new to this whole policy stuff so i hope this isn't a mistake on my side. I'm using the latest version of SETools in combination with the Tool SElint (SEAndroid policy analysis tool). To get some experience I tried to analyze the Policy Files of the Mashmallow AOSP Tree but always end up getting Syntax Errors in the following files:

untrusted_app.te:105: allow untrusted_app domain:{ rawip_socket tcp_socket udp_socket } unpriv_sock_ioctls;

shell.te:81: allow shell self:{ rawip_socket tcp_socket udp_socket } unpriv_sock_ioctls;

isolated_app.te:22: allow isolated_app domain:{ rawip_socket tcp_socket udp_socket } unpriv_sock_ioctls;

domain.te:39: allow domain self:unix_stream_socket { create_stream_socket_perms connectto };
allow domain domain:{ unix_dgram_socket unix_stream_socket } unpriv_unix_sock_ioctls;

When I comment the affected lines out, I don't get any Errors and the program runs like intended.

Have you guys any suggestion for me how to fix this or should I continue commenting this lines out?

Best Regards

Paddy

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions