Question: computer science want some help to figure out which ones im missing here Partial Question 4 0.5 / 1 pts Both system() and execve() can

computer science want some help to figure out which ones im missing here

computer science want some help to figure out which ones im missing

Partial Question 4 0.5 / 1 pts Both system() and execve() can be used to execute external programs. Why is system() unsafe while execve() is safe? Note, there might be multiple correct answers. system) command mixes data and code. This is what that can make it unsafe. The execve() function will never mix code and data together, so there is no chance for any untrusted data to become code. In execvel function, the code, i.e., the name of the program, has to be provided in the first argument, while the data need to be provided in the second argument. The execvel) function separate the code from data. In the system) function, there is no chance for any untrusted data to become code

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!