MATLAB Answers

How to run ARM application(built using embedded coder) on Zed board if it needs Root privileges?

1 view (last 30 days)
Vinay GB
Vinay GB on 1 Aug 2017
Answered: Vishal Neelagiri on 3 Aug 2017
If an ARM application needs root privileges to run on linux, how to set root privileges for the execution of this application? The application is a device driver block written in C and executed using a system object referenced by a matlab system function. There are certain function calls in the C file which need root privileges such as client_s = socket(AF_PACKET, SOCK_RAW,htons(ETHER_TYPE));

  0 Comments

Sign in to comment.

Answers (1)

Vishal Neelagiri
Vishal Neelagiri on 3 Aug 2017
You would have to develop and register your own load command using the reference target load command as a starting point.
You can refer to this documentation link under Step 11:

  0 Comments

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!