Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						4c9b617140 
					 
					
						
						
							
							New lock tests.  
						
						 
						
						
						
						
					 
					
						2017-02-20 10:23:19 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						dbb57b2826 
					 
					
						
						
							
							Added snsecprintf function that writes the secprintf message into the  
						
						 
						
						... 
						
						
						
						buffer provided. 
						
						
					 
					
						2017-02-18 22:58:35 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								zsmoore 
							
						 
					 
					
						
						
							
						
						b51f2a88de 
					 
					
						
						
							
							added new lock test to check do i hold functionality. tested on incorrect implementation, fails. tested on correct implementation, passed.  
						
						 
						
						
						
						
					 
					
						2017-02-16 01:41:05 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						a662851491 
					 
					
						
						
							
							Initial fix of upstream merge.  
						
						 
						
						
						
						
					 
					
						2017-02-09 10:09:30 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						8af1edae0e 
					 
					
						
						
							
							Hang detection additions.  
						
						 
						
						
						
						
					 
					
						2017-02-09 09:49:03 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						93cc12e3f2 
					 
					
						
						
							
							Merge branch 'upstream'  
						
						 
						
						
						
						
					 
					
						2017-01-09 22:59:46 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						08a300d1a6 
					 
					
						
						
							
							Merge in 2.0.2.  
						
						 
						
						
						
						
					 
					
						2017-01-09 22:58:21 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						e318e3171e 
					 
					
						
						
							
							Revert "Merging in 1.0.2."  
						
						 
						
						... 
						
						
						
						This reverts commit 50cf3276e7 . 
						
						
					 
					
						2017-01-09 22:52:13 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						50cf3276e7 
					 
					
						
						
							
							Merging in 2.0.2.  
						
						 
						
						
						
						
					 
					
						2017-01-09 22:40:23 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						388e6388a9 
					 
					
						
						
							
							Added thread_wait_for_count() which allows the menu to wait for all (new) threads to  
						
						 
						
						... 
						
						
						
						exit before continuing. We need this for khu testing because we have to make sure
cleanup is done before getting the used byte count. 
						
						
					 
					
						2016-04-07 14:35:09 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						e0fc622e00 
					 
					
						
						
							
							Added progress functions that print '.'. There are versions that are always loud or  
						
						 
						
						... 
						
						
						
						only loud during automated testing. 
						
						
					 
					
						2016-04-06 13:26:05 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						8380115efa 
					 
					
						
						
							
							Added new kmalloc test (km5) that tests various coremap properties. Also, km1-km4 were  
						
						 
						
						... 
						
						
						
						cleaned up for test161. 
						
						
					 
					
						2016-03-25 11:12:09 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						501773f90e 
					 
					
						
						
							
							Added a global variable for the number of cpus  
						
						 
						
						
						
						
					 
					
						2016-03-25 11:11:08 -04:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						d322a01342 
					 
					
						
						
							
							Adding function to get used bytes.  
						
						 
						
						
						
						
					 
					
						2016-03-10 11:29:38 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						196bb3b684 
					 
					
						
						
							
							Now using static buffers (and protecting with a semaphore) for kernel secprintf.  
						
						 
						
						... 
						
						
						
						We have to do this because we need secure output in kmalloc. 
						
						
					 
					
						2016-03-07 15:05:58 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						a07a4b75c1 
					 
					
						
						
							
							Change free to used in new coremap function.  
						
						 
						
						
						
						
					 
					
						2016-03-05 11:00:48 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						a367007689 
					 
					
						
						
							
							Add function to track free bytes in the coremap.  
						
						 
						
						
						
						
					 
					
						2016-03-05 09:55:44 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						e19a872c2b 
					 
					
						
						
							
							Static thread names.  
						
						 
						
						
						
						
					 
					
						2016-03-05 08:46:00 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Guru Prasad Srinivasa 
							
						 
					 
					
						
						
							
						
						f0e1d8722c 
					 
					
						
						
							
							Updated libtest161  
						
						 
						
						
						
						
					 
					
						2016-02-29 20:11:50 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						0cda18234c 
					 
					
						
						
							
							Undefine secret testing  
						
						 
						
						
						
						
					 
					
						2016-02-23 15:43:57 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						1b99c0e18f 
					 
					
						
						
							
							Refactored ksecprintf -> secprintf. Secure code is now all in common libtest161.  
						
						 
						
						... 
						
						
						
						This library gets linked in by default in userland, and the common files are
included in the kernel. 
						
						
					 
					
						2016-02-23 15:31:37 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						00eb1b44fb 
					 
					
						
						
							
							New CV test.  
						
						 
						
						
						
						
					 
					
						2016-02-18 16:14:48 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						dc00578b06 
					 
					
						
						
							
							Forgot rwt5.  
						
						 
						
						
						
						
					 
					
						2016-02-15 08:42:54 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						479acf49c2 
					 
					
						
						
							
							Adding stubs for additional RW tests.  
						
						 
						
						
						
						
					 
					
						2016-02-15 08:37:48 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						db6d3d219d 
					 
					
						
						
							
							Command to print total kernel heap usage for debugging.  
						
						 
						
						
						
						
					 
					
						2016-02-11 16:56:51 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						27b85a44ab 
					 
					
						
						
							
							Nearing done with ASST1 changes.  
						
						 
						
						
						
						
					 
					
						2016-02-11 16:35:46 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						875b75bf24 
					 
					
						
						
							
							Improvements to synchronization tests.  
						
						 
						
						
						
						
					 
					
						2016-02-11 13:55:09 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						01f2d3ea2c 
					 
					
						
						
							
							Added ksecprintf for securely printing messages from the kernel.  
						
						 
						
						... 
						
						
						
						If SECRET_TESTING is defined, the function will compute and print
a salt value and the hmac/sha256 hash of the message, which can be
verified from the test161 server. 
						
						
					 
					
						2016-02-11 01:30:33 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						5521823176 
					 
					
						
						
							
							Menu changes and test fixes for ASST1.  
						
						 
						
						
						
						
					 
					
						2016-02-10 17:03:53 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yihong Chen 
							
						 
					 
					
						
						
							
						
						1b38886b8d 
					 
					
						
						
							
							Merge branch 'master' of gitlab.ops-class.org:staff/os161  
						
						 
						
						
						
						
					 
					
						2016-02-01 10:40:46 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Yihong Chen 
							
						 
					 
					
						
						
							
						
						5e3334057a 
					 
					
						
						
							
							change synchprobs codes for reliable test.  
						
						 
						
						
						
						
					 
					
						2016-02-01 10:40:24 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Scott Haseley 
							
						 
					 
					
						
						
							
						
						a97b1c80b2 
					 
					
						
						
							
							Added sha256 hash function and hmac functions (with and without salt) to the kernel  
						
						 
						
						... 
						
						
						
						and userspace.
In userspace, this is accessed through #include <secure.h>
In the kernel, this is access through #include <kern/secure.h>
There is a unit test for this (hm1) that computes the hmac and compares it to
the known value.  The salted vesion tested offline.
-----
Also, fixed usespace compile issue with not changing KERNEL_SECRET => SECRET. 
						
						
					 
					
						2016-02-01 01:35:53 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						dc49fc79a4 
					 
					
						
						
							
							Disable secret for base.  
						
						 
						
						
						
						
					 
					
						2016-01-31 10:06:08 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						716d33964b 
					 
					
						
						
							
							Secret testing with multiplier working.  
						
						 
						
						
						
						
					 
					
						2016-01-31 09:53:13 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						9f2567ebbe 
					 
					
						
						
							
							Adding reader-writer lock primitives.  
						
						 
						
						
						
						
					 
					
						2016-01-11 21:06:49 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						a6878c822b 
					 
					
						
						
							
							Trying to get closer to the original OS/161 sources.  
						
						 
						
						
						
						
					 
					
						2016-01-11 20:54:52 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						b66416e24f 
					 
					
						
						
							
							Automation testing tools.  
						
						 
						
						
						
						
					 
					
						2016-01-11 16:08:40 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						015b989a66 
					 
					
						
						
							
							Fixing synchronization tests.  
						
						 
						
						
						
						
					 
					
						2015-12-31 19:38:38 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						26612b6142 
					 
					
						
						
							
							Refactor test code.  
						
						 
						
						
						
						
					 
					
						2015-12-31 19:26:33 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						f818d0bd30 
					 
					
						
						
							
							Synchronization problem stubs and drivers.  
						
						 
						
						
						
						
					 
					
						2015-12-31 14:28:15 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						1b63251154 
					 
					
						
						
							
							RW test stub.  
						
						 
						
						
						
						
					 
					
						2015-12-31 13:56:21 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						5271fc50c7 
					 
					
						
						
							
							Moving the secret inside the tests, not in a library function.  
						
						 
						
						
						
						
					 
					
						2015-12-31 12:03:41 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						ff1d44b505 
					 
					
						
						
							
							Reset KERNEL_SECRET.  
						
						 
						
						
						
						
					 
					
						2015-12-31 11:48:02 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						54c11ab660 
					 
					
						
						
							
							Kernel secret for automated testing.  
						
						 
						
						
						
						
					 
					
						2015-12-31 11:44:25 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						4a432d4172 
					 
					
						
						
							
							Factor out kernel prompt.  
						
						 
						
						
						
						
					 
					
						2015-12-31 11:43:42 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						d733b140f3 
					 
					
						
						
							
							Format fix.  
						
						 
						
						
						
						
					 
					
						2015-12-31 11:43:01 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						d97a4ae026 
					 
					
						
						
							
							Synchronizing vkprintf with what we need for kprintf pass through.  
						
						 
						
						
						
						
					 
					
						2015-12-31 11:42:26 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						c079ae5fce 
					 
					
						
						
							
							Using banner for overwrites instead of a name.  
						
						 
						
						
						
						
					 
					
						2015-12-31 11:41:45 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						a33db5e187 
					 
					
						
						
							
							kprintf variants for testing.  
						
						 
						
						
						
						
					 
					
						2015-12-31 11:41:16 -05:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Geoffrey Challen 
							
						 
					 
					
						
						
							
						
						a4ad38f616 
					 
					
						
						
							
							Self check added to sy1.  
						
						 
						
						
						
						
					 
					
						2015-12-30 10:38:18 -06:00