Don't chmod /dev/ptmx when allocating a pty on Android.

This resolves an incompatibility with non-root adb.
BUG=22803455

Change-Id: I908923e9ddc04e0ec8de0122eb79486c8b1ae03e
1 file changed
tree: 2d900ba9b216eb59b5ae362384d52b20975ffabf
  1. contrib/
  2. openbsd-compat/
  3. aclocal.m4
  4. addrmatch.c
  5. Android.mk
  6. atomicio.c
  7. atomicio.h
  8. audit-bsm.c
  9. audit-linux.c
  10. audit.c
  11. audit.h
  12. auth-bsdauth.c
  13. auth-chall.c
  14. auth-krb5.c
  15. auth-options.c
  16. auth-options.h
  17. auth-pam.c
  18. auth-pam.h
  19. auth-passwd.c
  20. auth-rh-rsa.c
  21. auth-rhosts.c
  22. auth-rsa.c
  23. auth-shadow.c
  24. auth-sia.c
  25. auth-sia.h
  26. auth-skey.c
  27. auth.c
  28. auth.h
  29. auth1.c
  30. auth2-chall.c
  31. auth2-gss.c
  32. auth2-hostbased.c
  33. auth2-kbdint.c
  34. auth2-none.c
  35. auth2-passwd.c
  36. auth2-pubkey.c
  37. auth2.c
  38. authfd.c
  39. authfd.h
  40. authfile.c
  41. authfile.h
  42. bitmap.c
  43. bitmap.h
  44. blocks.c
  45. bufaux.c
  46. bufbn.c
  47. bufec.c
  48. buffer.c
  49. buffer.h
  50. buildpkg.sh.in
  51. canohost.c
  52. canohost.h
  53. chacha.c
  54. chacha.h
  55. ChangeLog
  56. channels.c
  57. channels.h
  58. cipher-3des1.c
  59. cipher-aes.c
  60. cipher-aesctr.c
  61. cipher-aesctr.h
  62. cipher-bf1.c
  63. cipher-chachapoly.c
  64. cipher-chachapoly.h
  65. cipher-ctr.c
  66. cipher.c
  67. cipher.h
  68. cleanup.c
  69. clientloop.c
  70. clientloop.h
  71. compat.c
  72. compat.h
  73. config.guess
  74. config.h
  75. config.h.in
  76. config.sub
  77. configure
  78. configure.ac
  79. crc32.c
  80. crc32.h
  81. CREDITS
  82. crypto_api.h
  83. deattack.c
  84. deattack.h
  85. defines.h
  86. dh.c
  87. dh.h
  88. digest-libc.c
  89. digest-openssl.c
  90. digest.h
  91. dispatch.c
  92. dispatch.h
  93. dns.c
  94. dns.h
  95. ed25519.c
  96. entropy.c
  97. entropy.h
  98. fatal.c
  99. fe25519.c
  100. fe25519.h
  101. fixalgorithms
  102. fixpaths
  103. fixprogs
  104. ge25519.c
  105. ge25519.h
  106. ge25519_base.data
  107. groupaccess.c
  108. groupaccess.h
  109. gss-genr.c
  110. gss-serv-krb5.c
  111. gss-serv.c
  112. hash.c
  113. hmac.c
  114. hmac.h
  115. hostfile.c
  116. hostfile.h
  117. includes.h
  118. INSTALL
  119. install-sh
  120. kex.c
  121. kex.h
  122. kexc25519.c
  123. kexc25519c.c
  124. kexc25519s.c
  125. kexdh.c
  126. kexdhc.c
  127. kexdhs.c
  128. kexecdh.c
  129. kexecdhc.c
  130. kexecdhs.c
  131. kexgex.c
  132. kexgexc.c
  133. kexgexs.c
  134. key.c
  135. key.h
  136. krl.c
  137. krl.h
  138. LICENCE
  139. log.c
  140. log.h
  141. loginrec.c
  142. loginrec.h
  143. logintest.c
  144. mac.c
  145. mac.h
  146. Makefile.in
  147. match.c
  148. match.h
  149. md-sha256.c
  150. md5crypt.c
  151. md5crypt.h
  152. mdoc2man.awk
  153. misc.c
  154. misc.h
  155. mkinstalldirs
  156. moduli
  157. moduli.0
  158. moduli.5
  159. moduli.c
  160. monitor.c
  161. monitor.h
  162. monitor_fdpass.c
  163. monitor_fdpass.h
  164. monitor_mm.c
  165. monitor_mm.h
  166. monitor_wrap.c
  167. monitor_wrap.h
  168. msg.c
  169. msg.h
  170. mux.c
  171. myproposal.h
  172. nchan.c
  173. nchan.ms
  174. nchan2.ms
  175. opacket.c
  176. opacket.h
  177. openssh.xml.in
  178. opensshd.init.in
  179. OVERVIEW
  180. packet.c
  181. packet.h
  182. pathnames.h
  183. pkcs11.h
  184. platform.c
  185. platform.h
  186. poly1305.c
  187. poly1305.h
  188. progressmeter.c
  189. progressmeter.h
  190. PROTOCOL
  191. PROTOCOL.agent
  192. PROTOCOL.certkeys
  193. PROTOCOL.chacha20poly1305
  194. PROTOCOL.key
  195. PROTOCOL.krl
  196. PROTOCOL.mux
  197. readconf.c
  198. readconf.h
  199. README
  200. README.dns
  201. README.platform
  202. README.privsep
  203. README.tun
  204. readpass.c
  205. rijndael.c
  206. rijndael.h
  207. roaming.h
  208. roaming_client.c
  209. roaming_common.c
  210. roaming_dummy.c
  211. roaming_serv.c
  212. rsa.c
  213. rsa.h
  214. sandbox-capsicum.c
  215. sandbox-darwin.c
  216. sandbox-null.c
  217. sandbox-rlimit.c
  218. sandbox-seccomp-filter.c
  219. sandbox-systrace.c
  220. sc25519.c
  221. sc25519.h
  222. scp.0
  223. scp.1
  224. scp.c
  225. servconf.c
  226. servconf.h
  227. serverloop.c
  228. serverloop.h
  229. session.c
  230. session.h
  231. sftp-client.c
  232. sftp-client.h
  233. sftp-common.c
  234. sftp-common.h
  235. sftp-glob.c
  236. sftp-server-main.c
  237. sftp-server.0
  238. sftp-server.8
  239. sftp-server.c
  240. sftp.0
  241. sftp.1
  242. sftp.c
  243. sftp.h
  244. smult_curve25519_ref.c
  245. ssh-add.0
  246. ssh-add.1
  247. ssh-add.c
  248. ssh-agent.0
  249. ssh-agent.1
  250. ssh-agent.c
  251. ssh-dss.c
  252. ssh-ecdsa.c
  253. ssh-ed25519.c
  254. ssh-gss.h
  255. ssh-keygen.0
  256. ssh-keygen.1
  257. ssh-keygen.c
  258. ssh-keyscan.0
  259. ssh-keyscan.1
  260. ssh-keyscan.c
  261. ssh-keysign.0
  262. ssh-keysign.8
  263. ssh-keysign.c
  264. ssh-pkcs11-client.c
  265. ssh-pkcs11-helper.0
  266. ssh-pkcs11-helper.8
  267. ssh-pkcs11-helper.c
  268. ssh-pkcs11.c
  269. ssh-pkcs11.h
  270. ssh-rsa.c
  271. ssh-sandbox.h
  272. ssh.0
  273. ssh.1
  274. ssh.c
  275. ssh.h
  276. ssh1.h
  277. ssh2.h
  278. ssh_api.c
  279. ssh_api.h
  280. ssh_config
  281. ssh_config.0
  282. ssh_config.5
  283. sshbuf-getput-basic.c
  284. sshbuf-getput-crypto.c
  285. sshbuf-misc.c
  286. sshbuf.c
  287. sshbuf.h
  288. sshconnect.c
  289. sshconnect.h
  290. sshconnect1.c
  291. sshconnect2.c
  292. sshd.0
  293. sshd.8
  294. sshd.c
  295. sshd_config
  296. sshd_config.0
  297. sshd_config.5
  298. sshd_config.android
  299. ssherr.c
  300. ssherr.h
  301. sshkey.c
  302. sshkey.h
  303. sshlogin.c
  304. sshlogin.h
  305. sshpty.c
  306. sshpty.h
  307. sshtty.c
  308. start-ssh
  309. survey.sh.in
  310. TODO
  311. ttymodes.c
  312. ttymodes.h
  313. uidswap.c
  314. uidswap.h
  315. umac.c
  316. umac.h
  317. umac128.c
  318. uuencode.c
  319. uuencode.h
  320. verify.c
  321. version.h
  322. xmalloc.c
  323. xmalloc.h