-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add socket-related functions and wrappers, and a few other fixes. #2
base: master
Are you sure you want to change the base?
Commits on Jul 9, 2018
-
Configuration menu - View commit details
-
Copy full SHA for e8b90ab - Browse repository at this point
Copy the full SHA e8b90abView commit details
Commits on Jul 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 4bf0af0 - Browse repository at this point
Copy the full SHA 4bf0af0View commit details
Commits on Jul 13, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 47b55fd - Browse repository at this point
Copy the full SHA 47b55fdView commit details -
Replacing getpagesize() by getconf(_SC_PAGESIZE), which is recommande…
…d by POSIX standard
Configuration menu - View commit details
-
Copy full SHA for ca308e6 - Browse repository at this point
Copy the full SHA ca308e6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39dbe6e - Browse repository at this point
Copy the full SHA 39dbe6eView commit details -
Updating Makefile to include all C source in CTester/
(Including wrap_getpid.c which was absent) Minor changes to student_code.h
Configuration menu - View commit details
-
Copy full SHA for 65736a7 - Browse repository at this point
Copy the full SHA 65736a7View commit details
Commits on Jul 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 4c2abc5 - Browse repository at this point
Copy the full SHA 4c2abc5View commit details -
Applying non-blocking write to pipe_stdout/pipe_stderr
The original code only made the reading end of the pipe non-blocking, as it needs to empty the pipe after the sandbox. But, if the student's program actually writes a lot on the writing end of the pipe, the pipe will block and cause the program to timeout. It is better to actually report this error (too much output) rather than waiting for the task to end. In both cases, the output will be truncated and it will not pass the tests, as we may expect the problem author to not require the student to output more than 65536 bytes or so of data on stdout or on stderr.
Configuration menu - View commit details
-
Copy full SHA for 01ecaba - Browse repository at this point
Copy the full SHA 01ecabaView commit details
Commits on Jul 22, 2018
-
Removes temporarily the possibility for the student to call exit and …
…bypass the tests. Also, makes sure to have a less undefined behaviour if the student actually calls exit: it will predictably raise a SIGSEGV instead of randomly not crashing instantly.
Configuration menu - View commit details
-
Copy full SHA for be4ef7a - Browse repository at this point
Copy the full SHA be4ef7aView commit details
Commits on Jul 25, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 12258c9 - Browse repository at this point
Copy the full SHA 12258c9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43ade11 - Browse repository at this point
Copy the full SHA 43ade11View commit details -
Configuration menu - View commit details
-
Copy full SHA for 482e2f5 - Browse repository at this point
Copy the full SHA 482e2f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 633320d - Browse repository at this point
Copy the full SHA 633320dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 29a4a70 - Browse repository at this point
Copy the full SHA 29a4a70View commit details
Commits on Jul 31, 2018
-
Wrapper functions for socket and related functions
Functions: socket, bind, connect, accept, listen, recv (and al), send (and al). Currently only supports statistics Also included: Some unit tests
Configuration menu - View commit details
-
Copy full SHA for a19e302 - Browse repository at this point
Copy the full SHA a19e302View commit details
Commits on Sep 5, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 13d65e9 - Browse repository at this point
Copy the full SHA 13d65e9View commit details
Commits on Sep 10, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 98c3073 - Browse repository at this point
Copy the full SHA 98c3073View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ec71e5 - Browse repository at this point
Copy the full SHA 3ec71e5View commit details
Commits on Sep 12, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 1a321cd - Browse repository at this point
Copy the full SHA 1a321cdView commit details -
Add fstdout and fstderr to allow tests to bypass the pipes when writi…
…ng on stdout and stderr
Configuration menu - View commit details
-
Copy full SHA for 8df0a72 - Browse repository at this point
Copy the full SHA 8df0a72View commit details
Commits on Sep 17, 2018
-
Reorganizing code of read and recv buffering and partial return, for …
…use by wrap_file and wrap_socket
Configuration menu - View commit details
-
Copy full SHA for f99a7ae - Browse repository at this point
Copy the full SHA f99a7aeView commit details
Commits on Sep 18, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 60a83ea - Browse repository at this point
Copy the full SHA 60a83eaView commit details -
Configuration menu - View commit details
-
Copy full SHA for b279f35 - Browse repository at this point
Copy the full SHA b279f35View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2c46e8 - Browse repository at this point
Copy the full SHA f2c46e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2b7d4d9 - Browse repository at this point
Copy the full SHA 2b7d4d9View commit details -
Add tests, clean up read_write, and fix a few bugs
- Remove write-related functions from read_write (currently not needed). - Add to run_ci the possibility of executing a single test. - A few corrections in read_write (time.h, NULL, const etc). - Allow exit to be called normally when the sandbox is not running.
Configuration menu - View commit details
-
Copy full SHA for 3685984 - Browse repository at this point
Copy the full SHA 3685984View commit details
Commits on Sep 20, 2018
-
Add more unit test, a few features and fix bugs detected by these
Among these were incoherence between nanoseconds, microseconds and milliseconds, bad type for intervals, and something else. Functionnalities added include the possibility to create a read_buffer_t from the tables of offsets and intervals, when the data is contigous.
Configuration menu - View commit details
-
Copy full SHA for 027afe5 - Browse repository at this point
Copy the full SHA 027afe5View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0915a3 - Browse repository at this point
Copy the full SHA b0915a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for df4d54e - Browse repository at this point
Copy the full SHA df4d54eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7e0faab - Browse repository at this point
Copy the full SHA 7e0faabView commit details
Commits on Sep 21, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 73d4fb7 - Browse repository at this point
Copy the full SHA 73d4fb7View commit details
Commits on Sep 22, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 6b1c968 - Browse repository at this point
Copy the full SHA 6b1c968View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6fbb737 - Browse repository at this point
Copy the full SHA 6fbb737View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7633453 - Browse repository at this point
Copy the full SHA 7633453View commit details -
Configuration menu - View commit details
-
Copy full SHA for 43c23a3 - Browse repository at this point
Copy the full SHA 43c23a3View commit details
Commits on Sep 23, 2018
-
Correcting a few bugs by Valgrind and add a new function to utils-socket
The function allows to connect a UDP socket to a remote client. Also, a confusion has been fixed
Configuration menu - View commit details
-
Copy full SHA for d34f371 - Browse repository at this point
Copy the full SHA d34f371View commit details
Commits on Sep 24, 2018
-
Configuration menu - View commit details
-
Copy full SHA for 492e131 - Browse repository at this point
Copy the full SHA 492e131View commit details -
Configuration menu - View commit details
-
Copy full SHA for fa5ba4a - Browse repository at this point
Copy the full SHA fa5ba4aView commit details
Commits on Aug 3, 2019
-
Configuration menu - View commit details
-
Copy full SHA for acc0d8e - Browse repository at this point
Copy the full SHA acc0d8eView commit details -
CTester.c: fix missing cleanup of read_write
Needs to be applied after read_write changes
Configuration menu - View commit details
-
Copy full SHA for 49e4e20 - Browse repository at this point
Copy the full SHA 49e4e20View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8508162 - Browse repository at this point
Copy the full SHA 8508162View commit details -
- monitored.gai_strerror - memory leak when reset - missing implementations of setters of fai_report and check_fai - Fix simple_getaddrinfo so that it is more compliant to the true one - Add reset for all alternative methods
Configuration menu - View commit details
-
Copy full SHA for fb12d77 - Browse repository at this point
Copy the full SHA fb12d77View commit details -
Configuration menu - View commit details
-
Copy full SHA for eddc70a - Browse repository at this point
Copy the full SHA eddc70aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fa48fd - Browse repository at this point
Copy the full SHA 8fa48fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d4d4f0 - Browse repository at this point
Copy the full SHA 2d4d4f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 080cc6f - Browse repository at this point
Copy the full SHA 080cc6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75be8f1 - Browse repository at this point
Copy the full SHA 75be8f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c82b71a - Browse repository at this point
Copy the full SHA c82b71aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ddb2f6 - Browse repository at this point
Copy the full SHA 7ddb2f6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1642bbb - Browse repository at this point
Copy the full SHA 1642bbbView commit details
Commits on Aug 21, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ac11fb2 - Browse repository at this point
Copy the full SHA ac11fb2View commit details
Commits on Aug 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 6d9d6f2 - Browse repository at this point
Copy the full SHA 6d9d6f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1b229c - Browse repository at this point
Copy the full SHA b1b229cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 98ee571 - Browse repository at this point
Copy the full SHA 98ee571View commit details