Searched refs:connp (Results 1 – 6 of 6) sorted by relevance
/openbmc/openbmc/meta-security/recipes-ids/suricata/files/ |
H A D | CVE-2024-45797.patch | 107 @@ -120,6 +120,17 @@ htp_status_t htp_process_request_header_generic(htp_connp_t *connp, unsigned c… 111 + if (htp_table_size(connp->in_tx->request_headers) > connp->cfg->number_headers_limit) { 112 + if (!(connp->in_tx->flags & HTP_HEADERS_TOO_MANY)) { 113 + connp->in_tx->flags |= HTP_HEADERS_TOO_MANY; 114 + htp_log(connp, HTP_LOG_MARK, HTP_LOG_WARNING, 0, "Too many request headers"); 123 if (htp_table_add(connp->in_tx->request_headers, h->name, h) != HTP_OK) { 129 @@ -321,6 +321,16 @@ htp_status_t htp_process_response_header_generic(htp_connp_t *connp, unsigned … 133 + if (htp_table_size(connp->out_tx->response_headers) > connp->cfg->number_headers_limit) { 134 + if (!(connp->out_tx->flags & HTP_HEADERS_TOO_MANY)) { 135 + connp->out_tx->flags |= HTP_HEADERS_TOO_MANY; [all …]
|
/openbmc/linux/fs/notify/ |
H A D | mark.c | 565 static int fsnotify_attach_connector_to_object(fsnotify_connp_t *connp, in fsnotify_attach_connector_to_object() argument 578 conn->obj = connp; in fsnotify_attach_connector_to_object() 593 if (cmpxchg(connp, NULL, conn)) { in fsnotify_attach_connector_to_object() 609 fsnotify_connp_t *connp) in fsnotify_grab_connector() argument 615 conn = srcu_dereference(*connp, &fsnotify_mark_srcu); in fsnotify_grab_connector() 636 fsnotify_connp_t *connp, in fsnotify_add_mark_list() argument 654 conn = fsnotify_grab_connector(connp); in fsnotify_add_mark_list() 657 err = fsnotify_attach_connector_to_object(connp, obj_type, in fsnotify_add_mark_list() 731 fsnotify_connp_t *connp, unsigned int obj_type, in fsnotify_add_mark_locked() argument 752 ret = fsnotify_add_mark_list(mark, connp, obj_type, add_flags, fsid); in fsnotify_add_mark_locked() [all …]
|
H A D | fsnotify.h | 56 extern void fsnotify_destroy_marks(fsnotify_connp_t *connp);
|
H A D | fsnotify.c | 382 static struct fsnotify_mark *fsnotify_first_mark(struct fsnotify_mark_connector **connp) in fsnotify_first_mark() argument 387 conn = srcu_dereference(*connp, &fsnotify_mark_srcu); in fsnotify_first_mark()
|
/openbmc/linux/include/linux/ |
H A D | fsnotify_backend.h | 763 extern struct fsnotify_mark *fsnotify_find_mark(fsnotify_connp_t *connp, 767 fsnotify_connp_t *connp, unsigned int obj_type, 770 fsnotify_connp_t *connp,
|
/openbmc/linux/fs/notify/fanotify/ |
H A D | fanotify_user.c | 1091 fsnotify_connp_t *connp, __u32 mask, in fanotify_remove_mark() argument 1099 fsn_mark = fsnotify_find_mark(connp, group); in fanotify_remove_mark() 1207 fsnotify_connp_t *connp, in fanotify_add_new_mark() argument 1235 ret = fsnotify_add_mark_locked(mark, connp, obj_type, 0, fsid); in fanotify_add_new_mark() 1291 fsnotify_connp_t *connp, unsigned int obj_type, in fanotify_add_mark() argument 1300 fsn_mark = fsnotify_find_mark(connp, group); in fanotify_add_mark() 1302 fsn_mark = fanotify_add_new_mark(group, connp, obj_type, in fanotify_add_mark()
|