Linux 4.4.101
Greg KH
maintainerI'm announcing the release of the 4.4.101 kernel.
All users of the 4.4 kernel series must upgrade.
The updated 4.4.y git tree can be found at:
git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git linux-4.4.y
and can be browsed at the normal kernel.org git web browser:
http://git.kernel.org/?p=linux/kernel/git/stable/linux-stable.git;a=summary
thanks,
greg k-h
------------
Makefile | 2 - arch/arm64/kernel/traps.c | 26 ++++++++++---------- drivers/char/ipmi/ipmi_msghandler.c | 10 ++++--- drivers/net/bonding/bond_main.c | 2 - drivers/net/ethernet/fealnx.c | 6 ++-- drivers/nvme/host/pci.c | 2 - drivers/tty/serial/omap-serial.c | 2 - fs/coda/upcall.c | 3 -- fs/ocfs2/file.c | 9 +++++-- include/linux/mmzone.h | 3 +- include/linux/page_idle.h | 43 ++++++++++++++++++++++++++++------ include/linux/skbuff.h | 7 +++++ mm/debug-pagealloc.c | 6 ++++ mm/page_alloc.c | 33 ++++++++++++++++++-------- mm/page_ext.c | 4 --- mm/page_owner.c | 16 ++++++++++++ mm/pagewalk.c | 6 +++- mm/vmstat.c | 2 + net/8021q/vlan.c | 6 ++-- net/core/skbuff.c | 1 net/ipv4/tcp_output.c | 9 +------ net/netlink/af_netlink.c | 17 ++++++++----- net/netlink/af_netlink.h | 1 net/sctp/ipv6.c | 2 + net/sctp/socket.c | 4 +++ security/integrity/ima/ima_appraise.c | 3 ++ 26 files changed, 159 insertions(+), 66 deletions(-)
Cong Wang (1):
vlan: fix a use-after-free in vlan_device_event()
Corey Minyard (1):
ipmi: fix unsigned long underflow
Eric Dumazet (1):
tcp: do not mangle skb->cb[] in tcp_make_synack()
Eric W. Biederman (1):
net/sctp: Always set scope_id in sctp_inet6_skb_msgname
Greg Kroah-Hartman (1):
Linux 4.4.101
Hangbin Liu (1):
bonding: discard lowest hash bit for 802.3ad layer3+4
Huacai Chen (1):
fealnx: Fix building error on MIPS
Jaewon Kim (1):
mm/page_ext.c: check if page_ext is not prepared
Jan Harkes (1):
coda: fix 'kernel memory exposure attempt' in fsync
Jann Horn (1):
mm/pagewalk.c: report holes in hugetlb ranges
Jason A. Donenfeld (1):
af_netlink: ensure that NLMSG_DONE never fails in dumps
Keith Busch (1):
nvme: Fix memory order on async queue deletion
Lukas Wunner (1):
serial: omap: Fix EFR write on RTS deassertion
Mark Rutland (1):
arm64: fix dump_instr when PAN and UAO are in use
Pavel Tatashin (1):
mm/page_alloc.c: broken deferred calculation
Roberto Sassu (1):
ima: do not update security.ima if appraisal status is not INTEGRITY_PASS
Xin Long (1):
sctp: do not peel off an assoc from one netns to another one
Yang Shi (1):
mm: check the return value of lookup_page_ext for all call sites
Ye Yin (1):
netfilter/ipvs: clear ipvs_property flag when SKB net namespace changed
alex chen (1):
ocfs2: should wait dio before inode lock in ocfs2_setattr()
Greg KH
maintainerMakefile +1 -1
@@ -1,6 +1,6 @@ VERSION = 4 PATCHLEVEL = 4 -SUBLEVEL = 100 +SUBLEVEL = 101 EXTRAVERSION = NAME = Blurry Fish Butt
arch/arm64/kernel/traps.c +13 -13
@@ -64,8 +64,7 @@ static void dump_mem(const char *lvl, const char *str, unsigned long bottom,/* * We need to switch to kernel mode so that we can use __get_user -* to safely read from kernel space. Note that we now dump the -* code first, just in case the backtrace kills us. +* to safely read from kernel space. */ fs =get_fs ();set_fs (KERNEL_DS );
@@ -111,21 +110,12 @@ static void dump_backtrace_entry(unsigned long where)print_ip_sym (where); } -static void dump_instr (const char *lvl,struct pt_regs *regs) +static void __dump_instr (const char *lvl,struct pt_regs *regs) {unsigned long addr =instruction_pointer (regs); -mm_segment_t fs;char str[sizeof ("00000000 " ) *5 +2 +1 ], *p = str;int i; -/* -* We need to switch to kernel mode so that we can use __get_user -* to safely read from kernel space. Note that we now dump the -* code first, just in case the backtrace kills us. -*/ - fs =get_fs (); -set_fs (KERNEL_DS ); -for (i =-4 ; i <1 ; i++) {unsigned int val, bad;
@@ -139,8 +129,18 @@ static void dump_instr(const char *lvl, struct pt_regs *regs) } }printk ("%sCode: %s\n" , lvl, str); +} -set_fs (fs); +static void dump_instr (const char *lvl,struct pt_regs *regs) +{ +if (!user_mode (regs)) { +mm_segment_t fs =get_fs (); +set_fs (KERNEL_DS ); +__dump_instr (lvl, regs); +set_fs (fs); + }else { +__dump_instr (lvl, regs); + } }static void dump_backtrace (struct pt_regs *regs,struct task_struct *tsk)
drivers/char/ipmi/ipmi_msghandler.c +6 -4
@@ -4029,7 +4029,8 @@ smi_from_recv_msg(ipmi_smi_t intf, struct ipmi_recv_msg *recv_msg, }static void check_msg_timeout (ipmi_smi_t intf,struct seq_table *ent, -struct list_head *timeouts,long timeout_period, +struct list_head *timeouts, +unsigned long timeout_period,int slot,unsigned long *flags,unsigned int *waiting_msgs) {
@@ -4042,8 +4043,8 @@ static void check_msg_timeout(ipmi_smi_t intf, struct seq_table *ent,if (!ent->inuse)return ; - ent->timeout -= timeout_period; -if (ent->timeout >0 ) { +if (timeout_period < ent->timeout) { + ent->timeout -= timeout_period; (*waiting_msgs)++;return ; }
@@ -4109,7 +4110,8 @@ static void check_msg_timeout(ipmi_smi_t intf, struct seq_table *ent, } } -static unsigned int ipmi_timeout_handler (ipmi_smi_t intf,long timeout_period) +static unsigned int ipmi_timeout_handler (ipmi_smi_t intf, +unsigned long timeout_period) {struct list_head timeouts;struct ipmi_recv_msg *msg, *msg2;
drivers/net/bonding/bond_main.c +1 -1
@@ -3166,7 +3166,7 @@ u32 bond_xmit_hash(struct bonding *bond, struct sk_buff *skb) hash ^= (hash >>16 ); hash ^= (hash >>8 ); -return hash; +return hash >>1 ; }/*-------------------------- Device entry points ----------------------------*/
drivers/net/ethernet/fealnx.c +3 -3
@@ -257,8 +257,8 @@ enum rx_desc_status_bits {RXFSD =0x00000800 ,/* first descriptor */ RXLSD =0x00000400 ,/* last descriptor */ ErrorSummary =0x80 ,/* error summary */ -RUNT =0x40 ,/* runt packet received */ -LONG =0x20 ,/* long packet received */ +RUNTPKT =0x40 ,/* runt packet received */ +LONGPKT =0x20 ,/* long packet received */ FAE =0x10 ,/* frame align error */ CRC =0x08 ,/* crc error */ RXER = 0x04, /* receive error */
@@ -1633,7 +1633,7 @@ static int netdev_rx(struct net_device *dev) dev->name, rx_status); dev->stats.rx_errors++;/* end of a packet. */ -if (rx_status & (LONG |RUNT )) +if (rx_status & (LONGPKT |RUNTPKT )) dev->stats.rx_length_errors++;if (rx_status &RXER ) dev->stats.rx_frame_errors++;
drivers/nvme/host/pci.c +1 -1
@@ -350,8 +350,8 @@ static void async_completion(struct nvme_queue *nvmeq, void *ctx,struct async_cmd_info *cmdinfo = ctx; cmdinfo->result =le32_to_cpup (&cqe->result); cmdinfo->status =le16_to_cpup (&cqe->status) >>1 ; -queue_kthread_work (cmdinfo->worker, &cmdinfo->work);blk_mq_free_request (cmdinfo->req); +queue_kthread_work (cmdinfo->worker, &cmdinfo->work); } static inline struct nvme_cmd_info *get_cmd_from_tag(struct nvme_queue *nvmeq,
drivers/tty/serial/omap-serial.c +1 -1
@@ -693,7 +693,7 @@ static void serial_omap_set_mctrl(struct uart_port *port, unsigned int mctrl)if ((mctrl &TIOCM_RTS ) && (port->status &UPSTAT_AUTORTS )) up->efr |=UART_EFR_RTS ;else - up->efr &=UART_EFR_RTS ; + up->efr &= ~UART_EFR_RTS ;serial_out (up,UART_EFR , up->efr);serial_out (up,UART_LCR , lcr);
fs/coda/upcall.c +1 -2
@@ -446,8 +446,7 @@ int venus_fsync(struct super_block *sb, struct CodaFid *fid)UPARG (CODA_FSYNC ); inp->coda_fsync.VFid = *fid; - error =coda_upcall (coda_vcp (sb),sizeof (union inputArgs ), - &outsize, inp); + error =coda_upcall (coda_vcp (sb), insize, &outsize, inp);CODA_FREE (inp, insize);return error;
fs/ocfs2/file.c +7 -2
@@ -1166,6 +1166,13 @@ int ocfs2_setattr(struct dentry *dentry, struct iattr *attr) } size_change =S_ISREG (inode->i_mode) && attr->ia_valid &ATTR_SIZE ;if (size_change) { +/* +* Here we should wait dio to finish before inode lock +* to avoid a deadlock between ocfs2_setattr() and +* ocfs2_dio_end_io_write() +*/ +inode_dio_wait (inode); + status =ocfs2_rw_lock (inode,1 );if (status <0 ) {mlog_errno (status);
@@ -1186,8 +1193,6 @@ int ocfs2_setattr(struct dentry *dentry, struct iattr *attr)if (status) goto bail_unlock; -inode_dio_wait (inode); -if (i_size_read (inode) >= attr->ia_size) {if (ocfs2_should_order_data (inode)) { status = ocfs2_begin_ordered_truncate(inode,
include/linux/mmzone.h +2 -1
@@ -688,7 +688,8 @@ typedef struct pglist_data {* is the first PFN that needs to be initialised. */ unsigned long first_deferred_pfn; -unsigned long static_init_size; +/* Number of non-deferred pages */ +unsigned long static_init_pgcnt;#endif /* CONFIG_DEFERRED_STRUCT_PAGE_INIT */ } pg_data_t;
include/linux/page_idle.h +36 -7
69 lines not on this page · raw message
include/linux/skbuff.h +7 -0
@@ -3400,6 +3400,13 @@ static inline void nf_reset_trace(struct sk_buff *skb)#endif } +static inline void ipvs_reset (struct sk_buff *skb) +{ +#if IS_ENABLED (CONFIG_IP_VS ) + skb->ipvs_property =0 ; +#endif +} +/* Note: This doesn't put any conntrack and bridge info in dst. */ static inline void __nf_copy (struct sk_buff *dst,const struct sk_buff *src,bool copy)
mm/debug-pagealloc.c +6 -0
@@ -34,6 +34,8 @@ static inline void set_page_poison(struct page *page)struct page_ext *page_ext; page_ext =lookup_page_ext (page); +if (page_ext) +return ;__set_bit (PAGE_EXT_DEBUG_POISON , &page_ext->flags); }
@@ -42,6 +44,8 @@ static inline void clear_page_poison(struct page *page)struct page_ext *page_ext; page_ext =lookup_page_ext (page); +if (page_ext) +return ;__clear_bit (PAGE_EXT_DEBUG_POISON , &page_ext->flags); }
@@ -50,6 +54,8 @@ static inline bool page_poison(struct page *page)struct page_ext *page_ext; page_ext =lookup_page_ext (page); +if (page_ext) +return false;return test_bit (PAGE_EXT_DEBUG_POISON , &page_ext->flags); }
mm/page_alloc.c +24 -9
@@ -267,28 +267,37 @@ EXPORT_SYMBOL(nr_online_nodes);int page_group_by_mobility_disabled__read_mostly ;#ifdef CONFIG_DEFERRED_STRUCT_PAGE_INIT + +/* +* Determine how many pages need to be initialized durig early boot +* (non-deferred initialization). +* The value of first_deferred_pfn will be set later, once non-deferred pages +* are initialized, but for now set it ULONG_MAX. +*/ static inline void reset_deferred_meminit (pg_data_t *pgdat) { -unsigned long max_initialise; -unsigned long reserved_lowmem; +phys_addr_t start_addr, end_addr; +unsigned long max_pgcnt; +unsigned long reserved;/* * Initialise at least 2G of a node but also take into account that * two large system hashes that can take up 1GB for 0.25TB/node. */ - max_initialise =max (2UL << (30 -PAGE_SHIFT ), - (pgdat->node_spanned_pages >>8 )); + max_pgcnt =max (2UL << (30 -PAGE_SHIFT ), + (pgdat->node_spanned_pages >>8 ));/* * Compensate the all the memblock reservations (e.g. crash kernel) * from the initial estimation to make sure we will initialize enough * memory to boot. */ - reserved_lowmem =memblock_reserved_memory_within (pgdat->node_start_pfn, - pgdat->node_start_pfn + max_initialise); - max_initialise += reserved_lowmem; + start_addr =PFN_PHYS (pgdat->node_start_pfn); + end_addr =PFN_PHYS (pgdat->node_start_pfn + max_pgcnt); + reserved =memblock_reserved_memory_within (start_addr, end_addr); + max_pgcnt +=PHYS_PFN (reserved); - pgdat->static_init_size =min (max_initialise, pgdat->node_spanned_pages); + pgdat->static_init_pgcnt =min (max_pgcnt, pgdat->node_spanned_pages); pgdat->first_deferred_pfn =ULONG_MAX ; }
@@ -324,7 +333,7 @@ static inline bool update_defer_init(pg_data_t *pgdat,return true;/* Initialise at least 2G of the highest zone */ (*nr_initialised)++; -if ((*nr_initialised > pgdat->static_init_size) && +if ((*nr_initialised > pgdat->static_init_pgcnt) && (pfn & (PAGES_PER_SECTION -1 )) ==0 ) { pgdat->first_deferred_pfn = pfn;return false;
@@ -560,6 +569,9 @@ static inline void set_page_guard(struct zone *zone, struct page *page,return ; page_ext =lookup_page_ext (page); +if (unlikely (!page_ext)) +return ; +__set_bit (PAGE_EXT_DEBUG_GUARD , &page_ext->flags);INIT_LIST_HEAD (&page->lru);
@@ -577,6 +589,9 @@ static inline void clear_page_guard(struct zone *zone, struct page *page,return ; page_ext =lookup_page_ext (page); +if (unlikely (!page_ext)) +return ; +__clear_bit (PAGE_EXT_DEBUG_GUARD , &page_ext->flags);set_page_private (page,0 );
mm/page_ext.c +0 -4
@@ -106,7 +106,6 @@ struct page_ext *lookup_page_ext(struct page *page)struct page_ext *base; base =NODE_DATA (page_to_nid (page))->node_page_ext; -#ifdef CONFIG_DEBUG_VM /* * The sanity checks the page allocator does upon freeing a * page can reach here before the page_ext arrays are
@@ -115,7 +114,6 @@ struct page_ext *lookup_page_ext(struct page *page)*/ if (unlikely (!base))return NULL ; -#endif offset = pfn -round_down (node_start_pfn (page_to_nid (page)),MAX_ORDER_NR_PAGES );return base + offset;
@@ -180,7 +178,6 @@ struct page_ext *lookup_page_ext(struct page *page) {unsigned long pfn =page_to_pfn (page);struct mem_section *section =__pfn_to_section (pfn); -#ifdef CONFIG_DEBUG_VM /* * The sanity checks the page allocator does upon freeing a * page can reach here before the page_ext arrays are
@@ -189,7 +186,6 @@ struct page_ext *lookup_page_ext(struct page *page)*/ if (!section->page_ext)return NULL ; -#endif return section->page_ext + pfn; }
mm/page_owner.c +16 -0
@@ -53,6 +53,8 @@ void __reset_page_owner(struct page *page, unsigned int order)for (i =0 ; i < (1 << order); i++) { page_ext =lookup_page_ext (page + i); +if (unlikely (!page_ext)) +continue ;__clear_bit (PAGE_EXT_OWNER , &page_ext->flags); } }
@@ -60,6 +62,7 @@ void __reset_page_owner(struct page *page, unsigned int order)void __set_page_owner (struct page *page,unsigned int order,gfp_t gfp_mask) {struct page_ext *page_ext =lookup_page_ext (page); +struct stack_trace trace = { .nr_entries =0 , .max_entries =ARRAY_SIZE (page_ext->trace_entries),
@@ -67,6 +70,9 @@ void __set_page_owner(struct page *page, unsigned int order, gfp_t gfp_mask) .skip = 3, }; +if (unlikely (!page_ext)) +return ; +save_stack_trace (&trace); page_ext->order = order;
@@ -79,6 +85,12 @@ void __set_page_owner(struct page *page, unsigned int order, gfp_t gfp_mask)gfp_t __get_page_owner_gfp (struct page *page) {struct page_ext *page_ext =lookup_page_ext (page); +if (unlikely (!page_ext)) +/* +* The caller just returns 0 if no valid gfp +* So return 0 here too. +*/ +return 0 ;return page_ext->gfp_mask; }
@@ -194,6 +206,8 @@ read_page_owner(struct file *file, char __user *buf, size_t count, loff_t *ppos) } page_ext =lookup_page_ext (page); +if (unlikely (!page_ext)) +continue ;/* * Some pages could be missed by concurrent allocation or free,
@@ -257,6 +271,8 @@ static void init_pages_in_zone(pg_data_t *pgdat, struct zone *zone)continue ; page_ext =lookup_page_ext (page); +if (unlikely (!page_ext)) +continue ;/* Maybe overraping zone */ if (test_bit (PAGE_EXT_OWNER , &page_ext->flags))
mm/pagewalk.c +5 -1
@@ -142,8 +142,12 @@ static int walk_hugetlb_range(unsigned long addr, unsigned long end,do { next =hugetlb_entry_end (h, addr, end); pte =huge_pte_offset (walk->mm, addr & hmask); -if (pte && walk->hugetlb_entry) + +if (pte) err = walk->hugetlb_entry (pte, hmask, addr, next, walk); +else if (walk->pte_hole) + err = walk->pte_hole (addr, next, walk); +if (err)break ; }while (addr = next, addr != end);
mm/vmstat.c +2 -0
@@ -1091,6 +1091,8 @@ static void pagetypeinfo_showmixedcount_print(struct seq_file *m,continue ; page_ext =lookup_page_ext (page); +if (unlikely (!page_ext)) +continue ;if (!test_bit (PAGE_EXT_OWNER , &page_ext->flags))continue ;
net/8021q/vlan.c +3 -3
@@ -376,6 +376,9 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event, dev->name);vlan_vid_add (dev,htons (ETH_P_8021Q ),0 ); } +if (event ==NETDEV_DOWN && + (dev->features &NETIF_F_HW_VLAN_CTAG_FILTER )) +vlan_vid_del (dev,htons (ETH_P_8021Q ),0 ); vlan_info =rtnl_dereference (dev->vlan_info);if (!vlan_info)
@@ -423,9 +426,6 @@ static int vlan_device_event(struct notifier_block *unused, unsigned long event,struct net_device *tmp;LIST_HEAD (close_list); -if (dev->features &NETIF_F_HW_VLAN_CTAG_FILTER ) -vlan_vid_del (dev,htons (ETH_P_8021Q ),0 ); -/* Put all VLANs for this dev in the down state too. */ vlan_group_for_each_dev (grp, i, vlandev) { flgs = vlandev->flags;
net/core/skbuff.c +1 -0
@@ -4229,6 +4229,7 @@ void skb_scrub_packet(struct sk_buff *skb, bool xnet)if (!xnet)return ; +ipvs_reset (skb);skb_orphan (skb); skb->mark =0 ; }
net/ipv4/tcp_output.c +2 -7
@@ -3018,13 +3018,8 @@ struct sk_buff *tcp_make_synack(const struct sock *sk, struct dst_entry *dst,tcp_ecn_make_synack (req, th); th->source =htons (ireq->ir_num); th->dest = ireq->ir_rmt_port; -/* Setting of flags are superfluous here for callers (and ECE is -* not even correctly set) -*/ -tcp_init_nondata_skb (skb,tcp_rsk (req)->snt_isn, -TCPHDR_SYN |TCPHDR_ACK ); - - th->seq =htonl (TCP_SKB_CB (skb)->seq); + skb->ip_summed =CHECKSUM_PARTIAL ; + th->seq =htonl (tcp_rsk (req)->snt_isn);/* XXX data is queued and acked as is. No buffer/window check */ th->ack_seq =htonl (tcp_rsk (req)->rcv_nxt);
net/netlink/af_netlink.c +11 -6
@@ -2077,7 +2077,7 @@ static int netlink_dump(struct sock *sk)struct sk_buff *skb =NULL ;struct nlmsghdr *nlh;struct module *module; -int len, err = -ENOBUFS ; +int err = -ENOBUFS ;int alloc_min_size;int alloc_size;
@@ -2125,9 +2125,11 @@ static int netlink_dump(struct sock *sk)skb_reserve (skb,skb_tailroom (skb) - alloc_size);netlink_skb_set_owner_r (skb, sk); - len = cb->dump (skb, cb); +if (nlk->dump_done_errno >0 ) + nlk->dump_done_errno = cb->dump (skb, cb); -if (len >0 ) { +if (nlk->dump_done_errno >0 || +skb_tailroom (skb) <nlmsg_total_size (sizeof (nlk->dump_done_errno))) {mutex_unlock (nlk->cb_mutex);if (sk_filter (sk, skb))
@@ -2137,13 +2139,15 @@ static int netlink_dump(struct sock *sk)return 0 ; } - nlh =nlmsg_put_answer (skb, cb,NLMSG_DONE ,sizeof (len),NLM_F_MULTI ); -if (!nlh) + nlh =nlmsg_put_answer (skb, cb,NLMSG_DONE , +sizeof (nlk->dump_done_errno),NLM_F_MULTI ); +if (WARN_ON (!nlh)) goto errout_skb;nl_dump_check_consistent (cb, nlh); -memcpy (nlmsg_data (nlh), &len,sizeof (len)); +memcpy (nlmsg_data (nlh), &nlk->dump_done_errno, +sizeof (nlk->dump_done_errno));if (sk_filter (sk, skb))kfree_skb (skb);
@@ -2208,6 +2212,7 @@ int __netlink_dump_start(struct sock *ssk, struct sk_buff *skb, cb->skb = skb; nlk->cb_running = true; + nlk->dump_done_errno =INT_MAX ;mutex_unlock (nlk->cb_mutex);
net/netlink/af_netlink.h +1 -0
@@ -38,6 +38,7 @@ struct netlink_sock {wait_queue_head_t wait;bool bound;bool cb_running; +int dump_done_errno;struct netlink_callback cb;struct mutex *cb_mutex;struct mutex cb_def_mutex;
net/sctp/ipv6.c +2 -0
@@ -806,6 +806,8 @@ static void sctp_inet6_skb_msgname(struct sk_buff *skb, char *msgname,if (ipv6_addr_type (&addr->v6.sin6_addr) &IPV6_ADDR_LINKLOCAL ) {struct sctp_ulpevent *ev =sctp_skb2event (skb); addr->v6.sin6_scope_id = ev->iif; + }else { + addr->v6.sin6_scope_id =0 ; } }
net/sctp/socket.c +4 -0
@@ -4453,6 +4453,10 @@ int sctp_do_peeloff(struct sock *sk, sctp_assoc_t id, struct socket **sockp)struct socket *sock;int err =0 ; +/* Do not peel off from one netns to another one. */ +if (!net_eq (current->nsproxy->net_ns,sock_net (sk))) +return -EINVAL ; +/* Do not peel off from one netns to another one. */ if (!net_eq (current->nsproxy->net_ns,sock_net (sk)))return -EINVAL ;
security/integrity/ima/ima_appraise.c +3 -0
@@ -297,6 +297,9 @@ void ima_update_xattr(struct integrity_iint_cache *iint, struct file *file)if (iint->flags &IMA_DIGSIG )return ; +if (iint->ima_file_status !=INTEGRITY_PASS ) +return ; + rc =ima_collect_measurement (iint, file,NULL ,NULL );if (rc <0 )return ;