Commit graph

  • 56bfe1cd50 Merge pull request #2 from Jc2k/use-lstat master Jakub Klama 2016-03-21 18:22:07 +01:00
  • 85c49d672a Use lstat instead of stat in fs_create. John Carr 2016-03-21 16:27:44 +00:00
  • ddfdba4079 Use bindat() only on FreeBSD, where it is available. 9p2000.L Jakub Klama 2016-03-14 01:13:38 +01:00
  • b9e8f1c1d8 Add data structures and serialization needed for 9p2000.L requests. Jakub Klama 2016-03-13 22:08:51 +01:00
  • 50acc73d55 Need to open directory fd before using bindat(). Jakub Klama 2016-02-21 14:51:08 -08:00
  • ab8fd88af2 Use bindat() to overcome 104-character unix domain socket path limit. Jakub Klama 2016-02-18 21:16:54 +01:00
  • 7be3e0b914 Integrate (slightly modified) pull request #1 from ailispaw. Jakub Klama 2016-02-03 10:02:01 +01:00
  • 23ad660dd0 Populate file->gid from parent fid. Jakub Klama 2016-02-03 09:31:19 +01:00
  • 8f92f565e4 Revert accidentally committed changes. Jakub Klama 2016-02-02 16:30:54 +01:00
  • 007bd57119 Fix crashes in legacy (9P2000) mode. Jakub Klama 2016-02-02 16:22:23 +01:00
  • e5533b16b6 Kill fid when Tattach fails. Jakub Klama 2016-02-02 02:44:13 +01:00
  • ea28e8eeec Fix whitespaces. Jakub Klama 2016-02-01 14:45:59 +01:00
  • e35c023dac Return correct qids in Ropen and Rcreate. Jakub Klama 2016-02-01 14:44:28 +01:00
  • fb73d5ca47 Fix typo. Jakub Klama 2016-02-01 02:32:12 +01:00
  • 43c709a296 Add license information. Jakub Klama 2016-02-01 01:17:43 +01:00
  • 3b98045f24 Use socket() and bind() to create Unix domain socket. Jakub Klama 2016-02-01 00:16:05 +01:00
  • 79231de3c1 Reformat makefile. Jakub Klama 2016-01-31 23:05:33 +01:00
  • b28e30d743 Implement chown; properly report block and char devices. Jakub Klama 2016-01-31 23:05:04 +01:00
  • b32fbd64d5 Remove debug logging by default. Jakub Klama 2016-01-31 23:02:36 +01:00
  • 8f06de489c Fix "unused variable" warnings. Jakub Klama 2016-01-31 23:02:13 +01:00
  • 26f87be168 Make it (mostly) compile with -Weverything. Jakub Klama 2016-01-31 20:50:18 +01:00
  • 10aaea4971 Make 9P2000.u default version now. Jakub Klama 2016-01-31 04:58:34 +01:00
  • e50eaea07a Add support for symlinks. Jakub Klama 2016-01-31 03:17:12 +01:00
  • 8c8239a88f Fix GNUmakefile. Jakub Klama 2016-01-31 02:57:38 +01:00
  • ff65b2338b Put build products in build/ directory. Jakub Klama 2016-01-31 02:07:53 +01:00
  • e9a6a2c64c Add build/ to .gitignore. Jakub Klama 2016-01-31 02:06:42 +01:00
  • 2ceba3eb71 Add makefile in GNU make format for OS X. Jakub Klama 2016-01-31 02:03:58 +01:00
  • 3cbe77cd4f Retry interrupted kevent() call. Jakub Klama 2016-01-31 02:02:53 +01:00
  • 456e2df90c Check for argv[1] presence. Jakub Klama 2016-01-31 02:02:17 +01:00
  • 5b2c47bda9 Reformat code, add some assertions. Jakub Klama 2016-01-31 02:00:55 +01:00
  • 3baea0c48f A bunch of changes described below. Jakub Klama 2016-01-31 01:56:11 +01:00
  • ac0155dd1b Add hashtable.c to the build. Jakub Klama 2016-01-31 01:55:47 +01:00
  • fcfdba2cfb Reformat file, add 9P mode definitions. Jakub Klama 2016-01-31 01:53:48 +01:00
  • 3367fb46ea Reformat file, improve l9p_describe_fcall(). Jakub Klama 2016-01-31 01:53:02 +01:00
  • 1fedce2aa6 Use wrappers for malloc() and calloc(). Jakub Klama 2016-01-31 01:52:08 +01:00
  • c9624690a9 Add simple hashtable implementation. Jakub Klama 2016-01-31 01:51:03 +01:00
  • 830759c75e Add minimal libsbuf implementation for Mac OS X. Jakub Klama 2016-01-31 01:50:35 +01:00
  • d3e4c06341 First pass at 9P2000.u support. Jakub Klama 2016-01-28 15:18:55 +01:00
  • 91ad441d73 Rework code significantly. Jakub Klama 2016-01-28 00:40:43 +01:00
  • 080c92c18f Semi-functional file listing and reading. Jakub Klama 2016-01-23 22:57:40 +01:00
  • f46d2136e9 Initial, non-functional code drop. Jakub Klama 2016-01-23 18:45:17 +01:00
  • be76f4b73e Initial commit Jakub Klama 2015-12-28 00:14:46 +01:00