{"push_id":1458834536,"size":2,"distinct_size":2,"ref":"refs/heads/master","head":"b2ffd8ceaac0ea3aa68874015418a1e68563c1c5","before":"c6de6b66e9dd9543ead73b8c283e58c1caf3c898","commits":[{"sha":"99855d60d6ee1a20b46895d8dde59d9ae6feb794","author":{"name":"Giacomo Tesio","email":"09f3a97458d33e3ea52bd16d0341461030ff16e8@tesio.it"},"message":"kernel: move chdir to libc using devself/devproc\n\nAdded wdir to devself and devproc:\n\n- read '#0/wdir' to get the working directory of the calling process\n  NOTE that a read(fd, nil, -1) will return the negated length\n  of the working directory, just in case you want to\n  allocate the memory required\n\n- read '/proc/n/wdir' to know the working directory of process n\n  (read(fd, nil, -1) still returns the negated length)\n\n- write '#0/wdir' to change the working directory of the calling process\n  NOTE: no offset is allowed and the provided string must\n  be null terminated\n\n- write '/proc/n/wdir' to change the working directory of process n\n  NOTE: no offset is allowed and the provided string must\n  be null terminated; moreover if another process change the working\n  directory change during the write, the current process will\n  receive an error.\n\nIn libc updated getwd() and chdir().\nAlso modified pwd to get advantage of the new file.\n\nTo test, run /arch/amd64/qa/kern/wdir.rc or simply try\n\n\t% pwd\n\t/usr/glenda\n\t% echo -n /tmp > /proc/$pid/wdir\n        % pwd\n        /tmp\n        % cat '#0/wdir' && echo\n        /tmp\n\nThe expected use cases for wdir in devproc are rio and acme.\n\nAlso, note that we could theoretically remove the cd builtin\nfrom rc and simply implement it as a rc function.\nWe don't do that to preserve rc portability to other OS.","distinct":true,"url":"https://api.github.com/repos/JehanneOS/jehanne/commits/99855d60d6ee1a20b46895d8dde59d9ae6feb794"},{"sha":"b2ffd8ceaac0ea3aa68874015418a1e68563c1c5","author":{"name":"Giacomo Tesio","email":"09f3a97458d33e3ea52bd16d0341461030ff16e8@tesio.it"},"message":"continuous-build: run QA tests on travis-ci","distinct":true,"url":"https://api.github.com/repos/JehanneOS/jehanne/commits/b2ffd8ceaac0ea3aa68874015418a1e68563c1c5"}]}
{"actor":{"display_login":"Shamar"}}