Function report | 
Source Code:kernel\sysctl-test.c | 
Create Date:2022-07-28 13:51:16 | 
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick | 
| home page | Tree | 
| Annotation kernel can get tool activity | Download SCCT | Chinese | 
Name:Test that writing a value smaller than the minimum possible value is not* allowed.
Proto:static void sysctl_test_api_dointvec_write_single_less_int_min(struct kunit *test)
Type:void
Parameter:
| Type | Parameter | Name | 
|---|---|---|
| struct kunit * | test | 
| 309 | data = 0 | 
| 310 | struct ctl_table table = { Text ID for /proc/sys, or zero = "foo", data = & data, maxlen = sizeof(int), mode = 0644, Callback for text formatting = read a vector of integers, extra1 = & i_zero, extra2 = & i_one_hundred, } | 
| 320 | pos = 0 | 
| 322 | __user * user_buffer = buffer | 
| 323 | abs_of_less_than_min = INT_MAX - INT_MAX + INT_MIN + 1 | 
| 335 | KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal(test, - EINVAL, read a vector of integers) | 
| 338 | KUNIT_EXPECT_EQ() - Sets an expectation that @left and @right are equal(test, 0, * ((int * )data)) | 
| Source code conversion tool public plug-in interface  | X | 
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion  |