/linux-4.4.14/security/apparmor/ |
H A D | procattr.c | 116 char *hat; aa_setprocattr_changehat() local 121 hat = split_token_from_name(OP_CHANGE_HAT, args, &token); aa_setprocattr_changehat() 122 if (IS_ERR(hat)) aa_setprocattr_changehat() 123 return PTR_ERR(hat); aa_setprocattr_changehat() 125 if (!hat && !token) { aa_setprocattr_changehat() 126 AA_ERROR("change_hat: Invalid input, NULL hat and NULL magic"); aa_setprocattr_changehat() 130 if (hat) { aa_setprocattr_changehat() 131 /* set up hat name vector, args guaranteed null terminated aa_setprocattr_changehat() 134 * If there are multiple hat names in the buffer each is aa_setprocattr_changehat() 138 for (count = 0; (hat < end) && count < 16; ++count) { aa_setprocattr_changehat() 139 char *next = hat + strlen(hat) + 1; aa_setprocattr_changehat() 140 hats[count] = hat; aa_setprocattr_changehat() 141 hat = next; aa_setprocattr_changehat() 146 __func__, token, hat ? hat : NULL); aa_setprocattr_changehat()
|
H A D | context.c | 149 * aa_set_current_hat - set the current tasks hat 150 * @profile: profile to set as the current hat (NOT NULL) 151 * @token: token value that must be specified to change from the hat 153 * Do switch of tasks hat. If the task is currently in a hat 188 * aa_restore_previous_profile - exit from hat context restoring the profile 189 * @token: the token that must be matched to exit hat context 191 * Attempt to return out of a hat to the previous profile. The token
|
H A D | domain.c | 591 * aa_change_hat - change hat to/from subprofile 592 * @hats: vector of hat names to try changing into (MAYBE NULL if @count == 0) 593 * @count: number of hat names in @hats 594 * @token: magic value to validate the hat change 608 struct aa_profile *profile, *previous_profile, *hat = NULL; aa_change_hat() local 636 /* attempting to change into a new hat or switch to a sibling */ aa_change_hat() 643 /* find first matching hat */ aa_change_hat() 644 for (i = 0; i < count && !hat; i++) aa_change_hat() 646 hat = aa_find_child(root, hats[i]); aa_change_hat() 647 if (!hat) { aa_change_hat() 659 * Audit the failure is based off of the first hat aa_change_hat() 671 hat = aa_new_null_profile(profile, 1); aa_change_hat() 672 if (!hat) { aa_change_hat() 679 target = hat->base.hname; aa_change_hat() 680 if (!PROFILE_IS_HAT(hat)) { aa_change_hat() 681 info = "target not hat"; aa_change_hat() 687 error = may_change_ptraced_domain(hat); aa_change_hat() 695 error = aa_set_current_hat(hat, token); aa_change_hat() 721 aa_put_profile(hat); aa_change_hat()
|
H A D | policy.c | 677 * @hat: true if the null- learning profile is a hat 688 struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat) aa_new_null_profile() argument 707 if (hat) aa_new_null_profile()
|
/linux-4.4.14/drivers/s390/char/ |
H A D | ctrlchar.c | 52 /* hat is 0xb1 in codepage 037 (US etc.) and thus */ ctrlchar_handle()
|
H A D | tape_34xx.c | 254 * We tried to read forward and backward, but hat no tape_34xx_erp_read_opposite()
|
H A D | tape_3590.c | 948 /* We tried to read forward and backward, but hat no success */ tape_3590_erp_read_opposite()
|
/linux-4.4.14/drivers/input/joystick/ |
H A D | sidewinder.c | 303 int hat, i, j; sw_parse() local 310 if (sw_check(GB(0,64)) || (hat = (GB(6,1) << 3) | GB(60,3)) > 8) sw_parse() 320 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); sw_parse() 321 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); sw_parse() 354 if (!sw_parity(GB(0,48)) || (hat = GB(42,4)) > 8) sw_parse() 363 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); sw_parse() 364 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); sw_parse() 375 if (!sw_parity(GB(0,43)) || (hat = GB(28,4)) > 8) sw_parse() 383 input_report_abs(dev, ABS_HAT0X, sw_hat_to_axis[hat].x); sw_parse() 384 input_report_abs(dev, ABS_HAT0Y, sw_hat_to_axis[hat].y); sw_parse()
|
H A D | guillemot.c | 62 int hat; member in struct:guillemot_type 138 if (guillemot->type->hat) { guillemot_poll() 243 if (guillemot->type->hat) { guillemot_connect()
|
H A D | warrior.c | 82 case 5: /* Throttle, spinner, hat info->data */ warrior_process_packet()
|
H A D | analog.c | 444 snprintf(analog->name, sizeof(analog->name), "%s %d-hat", analog_name()
|
/linux-4.4.14/security/apparmor/include/ |
H A D | policy.h | 63 PFLAG_HAT = 1, /* profile is a hat */ 244 struct aa_profile *aa_new_null_profile(struct aa_profile *parent, int hat);
|
/linux-4.4.14/drivers/input/joystick/iforce/ |
H A D | iforce-packets.c | 203 /* If there are untouched bits left, interpret them as the second hat */ iforce_process_packet()
|
/linux-4.4.14/drivers/usb/serial/ |
H A D | keyspan.h | 26 Tip 'o the hat to IBM (and previously Linuxcare :) for supporting
|
H A D | keyspan.c | 26 Tip 'o the hat to IBM (and previously Linuxcare :) for supporting
|
/linux-4.4.14/security/smack/ |
H A D | smack_access.c | 160 * A hat subject can read or lock any object. smk_access()
|
/linux-4.4.14/arch/mn10300/kernel/ |
H A D | mn10300-serial.c | 545 /* pull chars out of the hat */ mn10300_serial_receive_interrupt() 1726 /* pull chars out of the hat */ mn10300_serial_poll_get_char()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
H A D | intel_fbc.c | 1120 /* This value was pulled out of someone's hat */
|
/linux-4.4.14/include/linux/ |
H A D | hid.h | 400 __s8 hat_min; /* hat switch fun */
|
/linux-4.4.14/net/sched/ |
H A D | sch_qfq.c | 1041 * Admissible values for \hat(F) are multiples of \sigma_i
|
/linux-4.4.14/drivers/input/tablet/ |
H A D | aiptek.c | 757 * hat switches (which just so happen to be the macroKeys.) aiptek_irq()
|