• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Farhan/openssh


Commit MetaInfo

Revision786d35eb9053c9096f62ca06d7de62618cb4baef (tree)
Time2017-10-25 23:25:43
AuthorGreg Hartman <ghartman@goog...>
CommiterGreg Hartman

Log Message

Add missing header for new sshd.c setns code

BUG: 68248250
Test: Local build
Change-Id: Iad3990613a1a1b93e6450096a790d23790c28030

Change Summary

Incremental Difference

--- a/sshd.c
+++ b/sshd.c
@@ -123,6 +123,11 @@
123123 #include "version.h"
124124 #include "ssherr.h"
125125
126+#if defined(ANDROID_GCE) && defined(GCE_PLATFORM_SDK_VERSION) && GCE_PLATFORM_SDK_VERSION >= 28
127+#define GNU_SOURCE
128+#include <sched.h>
129+#endif
130+
126131 /* Re-exec fds */
127132 #define REEXEC_DEVCRYPTO_RESERVED_FD (STDERR_FILENO + 1)
128133 #define REEXEC_STARTUP_PIPE_FD (STDERR_FILENO + 2)