[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Minios-devel] [UNIKRAFT PATCH 2/2] lib/posix-process: Add stub for execvp
- To: "minios-devel@xxxxxxxxxxxxx" <minios-devel@xxxxxxxxxxxxx>
- From: Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
- Date: Mon, 18 Nov 2019 15:58:35 +0000
- Accept-language: en-US
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=stud.acs.upb.ro; dmarc=pass action=none header.from=stud.acs.upb.ro; dkim=pass header.d=stud.acs.upb.ro; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=HWsBSixc+0tcz3KSVB/DYjNwe50caP280+CdOHTROGE=; b=DcOVBKisapQORAijece6GEvXcIocBFvIO7aWFKiS6PPSGNqDuISQWsKCeI2ts1A3CcZeaPBf2vk2ZY5bPddbyf+xvjeTviZf8C1EZKueVYdM79Y0BlSIuxdppEVGIXAdwjNufpHZX3etvu9jFSsgvZLWDgf4fgrBL8ZjmwvQ6RJCH5BUPsadH1TGbVSZcbyPcbv8qUQt4/HO+F+o1FirLKx+F8eKW8ATdyssLSVYEwERqtRiqcymSEc2VFwUErtksLSE9qjBaP0Yjpy7y5Dm3EPKMbNpEQazWVcHCfQHjJR3PWJNUsQdxcu59TOJ2h+V9cUISk1iyWd6I8B2wlfOyQ==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=HWc2oQdnvjV3hD647ZBVHQV8FZAhybIiU0KaNFBHBXZ7KsGLrtW32TEwXpk8TBG203sM+K0jsASp7L59B7RqNj4yuJEd596YugPjHL8vJI1vgkWdewPdgL9M3xD11YGUPkHtYKbcJm6zyZaPO6ZRaEkC9T/+tprqOXcP6DKC8ACPxuPSzsNxx8AoJkD5L73b3mh3kQfhw171LuqFbvv71dcSAGo9XtOUaTIrXU6Vgw58/vGyS2fEbJT8BNt0mofZ93pN9B2aAOyJkzmNKUfqAT7xX8dxDAb/ZKVsB1xFqjKr4xGawcQ7GJdodp67kEpwGqM4B2F8CRRl9g9xDMYgXg==
- Authentication-results: spf=none (sender IP is ) smtp.mailfrom=vlad_andrei.badoiu@xxxxxxxxxxxxxxx;
- Cc: "felipe.huici@xxxxxxxxx" <felipe.huici@xxxxxxxxx>, Vlad-Andrei BĂDOIU (78692) <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
- Delivery-date: Mon, 18 Nov 2019 15:58:49 +0000
- List-id: Mini-os development list <minios-devel.lists.xenproject.org>
- Thread-index: AQHVnikIa+kH1aA0fU2nplYSqo9R4Q==
- Thread-topic: [UNIKRAFT PATCH 2/2] lib/posix-process: Add stub for execvp
Signed-off-by: Vlad-Andrei Badoiu <vlad_andrei.badoiu@xxxxxxxxxxxxxxx>
---
lib/posix-process/process.c | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/lib/posix-process/process.c b/lib/posix-process/process.c
index 78c2f385..fcbbf864 100644
--- a/lib/posix-process/process.c
+++ b/lib/posix-process/process.c
@@ -95,6 +95,14 @@ int execv(const char *path, char *const argv[])
return -1;
}
+
+int execvp(const char *file, char *const argv[])
+{
+ exec_warn(__func__, file, argv, NULL);
+ errno = ENOSYS;
+ return -1;
+}
+
int system(const char *command)
{
uk_pr_warn("%s: %s\n", __func__, command);
--
2.20.1
_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel
|